mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
test: update e2e to pull letter
This commit is contained in:
@@ -198,10 +198,11 @@ test.describe("Letter Drafting (Real Backend)", () => {
|
||||
await page.getByAltText("Seal").waitFor({ state: "visible" });
|
||||
await page.getByAltText("Seal").click({ force: true });
|
||||
|
||||
await page.locator("#letter").click();
|
||||
// Click the letter to pull it out
|
||||
await page.locator("#letter").click({ force: true });
|
||||
|
||||
// Wait for reveal transition
|
||||
await expect(page.locator("#letter")).toBeHidden({ timeout: 10000 });
|
||||
await expect(page.locator("#letter")).toBeHidden({ timeout: 15000 });
|
||||
|
||||
// Also check if we are redirected to the Reader if we manually go to the Editor URL
|
||||
const readerUrl = page.url();
|
||||
|
||||
Reference in New Issue
Block a user