From 84daac2de447bf1966ea573fae03ff796ce5779f Mon Sep 17 00:00:00 2001 From: Brennan Benson <79079362+brennanb2025@users.noreply.github.com> Date: Mon, 28 Sep 2026 12:27:44 -0700 Subject: [PATCH] test(e2e): take the sidebar measured-row baseline with reduced motion (#23588) The fixture's collapse starts a row-removal slide; on hidden Linux windows the animation clock can stall, so the 'settled' baseline read LaunchStack 94px low (104 vs the resting 10). Emulate reduced motion, as the active-delete scroll spec already does, so the baseline is the resting layout. Linear: STA-8021 --- tests/e2e/sidebar-measured-row-scroll.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/e2e/sidebar-measured-row-scroll.spec.ts b/tests/e2e/sidebar-measured-row-scroll.spec.ts index a328d9fac70..84c21cd92d1 100644 --- a/tests/e2e/sidebar-measured-row-scroll.spec.ts +++ b/tests/e2e/sidebar-measured-row-scroll.spec.ts @@ -71,6 +71,8 @@ test('keeps a collapsed group visible when an idle card below it grows', async ( orcaPage, registerPostElectronShutdownCleanup }, testInfo) => { + // Why: the fixture's collapse slides rows in from their old position; a hidden window can freeze that mid-flight baseline. + await orcaPage.emulateMedia({ reducedMotion: 'reduce' }) await waitForSessionReady(orcaPage) await orcaPage.setViewportSize({ width: 1200, height: 900 }) const root = realpathSync(mkdtempSync(path.join(os.tmpdir(), 'orca-sidebar-measured-row-')))