test: supply pane attention reason in Escape fixture

This commit is contained in:
Jinwoo-H
2026-09-15 22:57:06 -04:00
parent 981726f146
commit c2472ff4e3
+1 -1
View File
@@ -310,7 +310,7 @@ test.describe('Terminal attention', () => {
// Focused BEL owns the tab indicator; seed pane attention separately so the
// Escape path proves it clears both store surfaces that pty-connection owns.
await orcaPage.evaluate((paneKey) => {
window.__store?.getState().markTerminalPaneUnread(paneKey)
window.__store?.getState().markTerminalPaneUnread(paneKey, 'terminal-bell')
}, activePaneKey)
await expect
.poll(async () => (await getUnreadTerminalPaneKeys(orcaPage)).includes(activePaneKey), {