test: add welcome letter onboarding helper to e2e
CI / Generate Certificates (pull_request) Successful in 31s
CI / Frontend CI (pull_request) Successful in 1m6s
CI / Backend CI (pull_request) Successful in 1m7s
CI / E2E Tests (pull_request) Successful in 7m13s

This commit is contained in:
me
2026-05-06 21:53:20 +05:30
parent e532507a0f
commit c0fb7aabf8
3 changed files with 31 additions and 3 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ test.describe("Letter Drafting (Real Backend)", () => {
// Verify it opens the Reader without a hash
logger.info(">> [Drawer] Verifying Reader page...");
// Give it a bit more time for decryption
await expect(page).toHaveURL(/\/read\/[a-f0-9-]{36}$/, { timeout: 15000 }); // UUID without hash
await expect(page).toHaveURL(/\/read\/[a-f0-9-]{36}$/, { timeout: 15000 });
// Reveal and check decrypted content in Reader
await expect(page.getByText(/breaking the seal/i)).toBeHidden({
timeout: 10000,