Skip to content

Commit 3445794

Browse files
added test data
1 parent d72a1b8 commit 3445794

35 files changed

Lines changed: 693 additions & 10 deletions

tests/e2e-test/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,3 +167,6 @@ screenshots/
167167
report.html
168168
assets/
169169
.vscode/
170+
171+
# Large SQL files (compress before committing)
172+
**/Large_File/*.sql

tests/e2e-test/pages/HomePage.py

Lines changed: 293 additions & 7 deletions
Large diffs are not rendered by default.

tests/e2e-test/pages/loginPage.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ class LoginPage(BasePage):
1111
PERMISSION_ACCEPT_BUTTON = "//input[@type='submit']"
1212

1313
def __init__(self, page):
14-
super().__init__()
1514
self.page = page
1615

1716
def authenticate(self, username, password):
@@ -34,4 +33,4 @@ def authenticate(self, username, password):
3433
self.page.locator(self.YES_BUTTON).click()
3534
self.page.wait_for_timeout(10000)
3635
# Wait for the "Articles" button to be available and click it
37-
self.page.wait_for_load_state("networkidle")
36+
self.page.wait_for_load_state("networkidle")
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SELECT * FROM Users WHERE interests LIKE '%child exploitation%';

tests/e2e-test/testdata/Invalid_files/invalid.py

Whitespace-only changes.
5.63 MB
Binary file not shown.
9.14 KB
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"ConversationId": "52db6950-3f62-440d-84ac-676fb334c167",
3+
"StartTime": "2024-12-05 17:00:00",
4+
"EndTime": "2024-12-05 17:14:32",
5+
"Duration": 14.544,
6+
"Content": "Hello, my name is Louis. I need to report a lost phone. Hi Louis, I'm sorry to hear your phone is missing. Can you please provide me with your account number? Sure. My account number is 567-890-123. Thank you for the information, Louis. I have located your account. Can you confirm the make and model of your phone? It's an iPhone 12. Thank you for providing that, Louis. Are you able to remember the last time you had your phone with you? I can't remember exactly, but it was last night. I must have left it at a restaurant or something. I. Understand how frustrating this must be. We can certainly block the phone to prevent unauthorized use. Yes, please do that. Can I also check if any suspicious activity has occurred? Let me check that for you, Louis. I have checked, and there doesn't seem to be any suspicious activity on your account. We can proceed with blocking the phone. That's good news. How long will this process take? The blocking process takes about 24 hours. We will send you a confirmation e-mail once it's done. Great, thank you. Now, what should I do if someone tries to unlock it? Once your phone is blocked, it cannot be unlocked or used with another SIM card without your account PIN or password. I would recommend that you change all your passwords and notify your bank to monitor your accounts. I understand. What about my family plan? Will my wife's phone be affected? No, your wife's phone will not be affected. She can still make and receive calls, send and receive messages, and use the Internet as usual. OK, that's a relief. Can I order a new phone with the same plan? You can certainly order a replacement phone. I can. Assist. You. With this after we finish the blocking process. We have a variety of new devices available and you can choose whichever best suits your needs. I appreciate your help, Ben. Is there anything I can do to avoid this situation in the future? I can provide you with a few tips, Louis first. Consider using a secure lock screen like a fingerprint or face recognition lock. Secondly, enable Find My iPhone and set up a remote wipe if you ever believe your phone has been lost. Lastly, always be mindful of where you place your phone in public. Thank you for the tips. I'll be more careful next time. I hope my phone turns up, but I guess it's better to be safe than sorry. Absolutely, Louis. Your caution is prudent. We'll have your phone blocked within the next 24 hours and you'll receive an e-mail confirmation. Also, should the phone be recovered, you. Can simply reregister it and we will unblock the device. Thanks, Ben. I think that covers everything for now. I appreciate your help. You're welcome, Louis. I'm sorry we couldn't find your phone, but I'm glad. I could assist you through this. Process. If you have further questions or concerns, don't hesitate to call us back. Have a great day. You too. Goodbye. Goodbye, Louis."
7+
}
15.6 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test data

0 commit comments

Comments
 (0)