Harden the app

This commit is contained in:
Schluffe committed 2026-10-26 20:48:24 +01:00
1 parent d92c4b50cf
commit e3a2b348d6
5 files changed
+38 -12

No files matched your search

+1 -1
View File
@@ -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');