From 559928985ca1e0b1ac6b802a7cd9622590a5b0f0 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 29 Jan 2026 13:41:45 +0000 Subject: [PATCH 1/2] chore(ai): lint check passed Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> From 401cadff901ed9d75b610b69b33889363b9a588c Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 29 Jan 2026 13:53:10 +0000 Subject: [PATCH 2/2] fix(test): resolve syntax error and duplicate block in overlay-layers.spec.ts Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- tests/visual/overlay-layers.spec.ts | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/tests/visual/overlay-layers.spec.ts b/tests/visual/overlay-layers.spec.ts index 0c891dc3..8f881be6 100644 --- a/tests/visual/overlay-layers.spec.ts +++ b/tests/visual/overlay-layers.spec.ts @@ -11,6 +11,9 @@ declare global { test.describe("overlay layering tokens", () => { test("mobile sidebar shares desktop rail behavior", async ({ page }) => { + // Increase timeout for this visual test which is prone to flakiness in CI + test.setTimeout(120_000); + await page.setViewportSize({ width: 390, height: 844 }); // Pre-suppress the disclaimer modal to avoid race conditions with app hydration @@ -18,18 +21,6 @@ test.describe("overlay layering tokens", () => { window.localStorage.setItem("hasSeenDisclaimer", "true"); }); - await page.waitForFunction(() => - Array.from( - document.querySelectorAll("#disclaimerModal") - ).every((modalElement) => modalElement.classList.contains("hidden")) - ); - } - - test("mobile sidebar shares desktop rail behavior", async ({ page }) => { - // Increase timeout for this visual test which is prone to flakiness in CI - test.setTimeout(120_000); - - await page.setViewportSize({ width: 390, height: 844 }); await page.goto("/index.html", { waitUntil: "networkidle" }); // Wait for initial fade-in to complete so opacity doesn't interfere with visibility checks