diff options
| author | Luke Parker <[email protected]> | 2026-03-17 12:55:58 +1000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-03-17 12:55:58 +1000 |
| commit | e416e59ea69f7600acbdb593ba68ac0fb1ee2633 (patch) | |
| tree | f1594d949fc3ad0d37f871e3d1028fcc77674035 /packages/app/e2e/settings | |
| parent | cb69501098c603ccd7d3e3dbe6655d401c1d815c (diff) | |
| download | opencode-e416e59ea69f7600acbdb593ba68ac0fb1ee2633.tar.gz opencode-e416e59ea69f7600acbdb593ba68ac0fb1ee2633.zip | |
test(app): deflake slash terminal toggle flow (#17881)
Diffstat (limited to 'packages/app/e2e/settings')
| -rw-r--r-- | packages/app/e2e/settings/settings-keybinds.spec.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/app/e2e/settings/settings-keybinds.spec.ts b/packages/app/e2e/settings/settings-keybinds.spec.ts index 9fc2a50ad..5789dc0eb 100644 --- a/packages/app/e2e/settings/settings-keybinds.spec.ts +++ b/packages/app/e2e/settings/settings-keybinds.spec.ts @@ -1,5 +1,5 @@ import { test, expect } from "../fixtures" -import { openSettings, closeDialog, waitTerminalReady, withSession } from "../actions" +import { openSettings, closeDialog, waitTerminalFocusIdle, withSession } from "../actions" import { keybindButtonSelector, terminalSelector } from "../selectors" import { modKey } from "../utils" @@ -302,7 +302,7 @@ test("changing terminal toggle keybind works", async ({ page, gotoSession }) => await expect(terminal).not.toBeVisible() await page.keyboard.press(`${modKey}+Y`) - await waitTerminalReady(page, { term: terminal }) + await waitTerminalFocusIdle(page, { term: terminal }) await page.keyboard.press(`${modKey}+Y`) await expect(terminal).not.toBeVisible() |
