refactor: refactor E2E auth helper and mail parsing logic

This commit is contained in:
ramvignesh-b
2026-04-28 19:54:22 +05:30
parent df73fb6b6a
commit f2a1abe7eb
3 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ test.describe("Letter Drafting (Real Backend)", () => {
await expect(page.getByText(/your letter is sealed/i)).toBeVisible({
timeout: 10000,
});
await page.getByRole("button", { name: /keep it/i }).click();
await page.getByRole("button", { name: /keep it to myself/i }).click();
// Open "Kept" section - search for the section with id='kept' and click its toggle button
logger.info(">> [Drawer] Opening Kept section...");