Harden the app
This commit is contained in:
1 parent
d92c4b50cf
commit
e3a2b348d6
5 files changed
+38
-12
No files matched your search
+1
-1
@@ -73,7 +73,7 @@ const MODES: Record<string, (sender: Page, receiver: Page) => Promise<void>> = {
|
||||
},
|
||||
async tracker(sender, receiver) {
|
||||
await sender.click('#share');
|
||||
await expect(sender.locator('#send-code')).toHaveText(/^[0-9a-zA-Z]{8}$/);
|
||||
await expect(sender.locator('#send-code')).toHaveText(/^[0-9a-zA-Z]{10}$/);
|
||||
await sender.click('#copy-send-code');
|
||||
await expect(sender.locator('#copy-send-code')).toHaveText('Copied');
|
||||
await expect(sender.locator('#log')).toContainText('waiting on');
|
||||
|
||||
Reference in new issue
Block a user