Stabilize raw emoji golden restore width

This commit is contained in:
Neil
2026-06-17 03:01:47 -07:00
parent dc3e333318
commit 63de16dd15
@@ -499,6 +499,9 @@ test.describe('Terminal raw emoji table scroll restore repro', () => {
await switchToWorktree(orcaPage, secondWorktreeId)
await waitForActiveTerminalManager(orcaPage, 30_000)
await orcaPage.waitForTimeout(1_000)
// Why: switching back can replay hidden terminal contents immediately;
// make the viewport wide before restore so the table cannot wrap first.
await setWideRenderedTableViewport(orcaPage)
await switchToWorktree(orcaPage, firstWorktreeId)
// Why: activating another worktree can restore the right sidebar. This
// golden is about terminal renderer restore at a deliberately wide width.