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
This commit is contained in:
Brennan Benson
2026-09-28 12:27:44 -07:00
committed by GitHub
parent 3eac4d93d3
commit 84daac2de4
@@ -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-')))