summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-03-12 02:04:26 +0000
committeropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-03-12 02:04:26 +0000
commit7b0def4b81b2b029a033ac67f64a9c82a3ebec64 (patch)
tree1b5675bcde322b38dba9e799db4efeeedad0abbb
parent1d9c83b576c51623f81014c94ce68c85734434fa (diff)
downloadopencode-7b0def4b81b2b029a033ac67f64a9c82a3ebec64.tar.gz
opencode-7b0def4b81b2b029a033ac67f64a9c82a3ebec64.zip
chore: generate
-rw-r--r--packages/app/e2e/prompt/prompt-slash-terminal.spec.ts15
1 files changed, 10 insertions, 5 deletions
diff --git a/packages/app/e2e/prompt/prompt-slash-terminal.spec.ts b/packages/app/e2e/prompt/prompt-slash-terminal.spec.ts
index 793b34ff8..fa884b752 100644
--- a/packages/app/e2e/prompt/prompt-slash-terminal.spec.ts
+++ b/packages/app/e2e/prompt/prompt-slash-terminal.spec.ts
@@ -19,11 +19,16 @@ test("/terminal toggles the terminal panel", async ({ page, gotoSession }) => {
// which can steal focus from the prompt and prevent fill() from triggering
// the slash popover. Re-attempt click+fill until all retries are exhausted
// and the popover appears.
- await expect.poll(async () => {
- await prompt.click().catch(() => false)
- await prompt.fill("/terminal").catch(() => false)
- return slash.isVisible().catch(() => false)
- }, { timeout: 10_000 }).toBe(true)
+ await expect
+ .poll(
+ async () => {
+ await prompt.click().catch(() => false)
+ await prompt.fill("/terminal").catch(() => false)
+ return slash.isVisible().catch(() => false)
+ },
+ { timeout: 10_000 },
+ )
+ .toBe(true)
await page.keyboard.press("Enter")
await expect(terminal).not.toBeVisible()
})