diff --git a/src/routes/page.svelte.e2e.ts b/src/routes/page.svelte.e2e.ts index d7c2536..be6e3e7 100644 --- a/src/routes/page.svelte.e2e.ts +++ b/src/routes/page.svelte.e2e.ts @@ -1431,6 +1431,8 @@ test("scrolls each pane to the part of the note shown in the other one", async ( await page.goto("/"); const markdown = page.getByRole("textbox", { name: "Markdown editor" }); await expect(markdown).toBeEnabled(); + await page.setViewportSize({ width: 1280, height: 720 }); + await expect(page.locator(".rendered-pane")).toBeVisible(); // Sections differ in length and shape, so a proportional scroll would drift away from them. const sections = Array.from({ length: 30 }, (_, index) => { const body = Array.from(