diff options
| author | Adam <[email protected]> | 2026-03-10 19:03:44 -0500 |
|---|---|---|
| committer | Adam <[email protected]> | 2026-03-10 19:03:44 -0500 |
| commit | 89bf199c073cbb428a5a1a7d3600e970ba784e18 (patch) | |
| tree | d684ebe136f7c9ba41336c35a02bf4dd521b05b9 /packages/app/e2e/prompt | |
| parent | 5acfdd1c5d6ff631e708b2fc35d4ece3fe8ab7de (diff) | |
| download | opencode-89bf199c073cbb428a5a1a7d3600e970ba784e18.tar.gz opencode-89bf199c073cbb428a5a1a7d3600e970ba784e18.zip | |
chore(app): fix tests
Diffstat (limited to 'packages/app/e2e/prompt')
| -rw-r--r-- | packages/app/e2e/prompt/prompt-slash-terminal.spec.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/app/e2e/prompt/prompt-slash-terminal.spec.ts b/packages/app/e2e/prompt/prompt-slash-terminal.spec.ts index eefce19dc..bf9f96b47 100644 --- a/packages/app/e2e/prompt/prompt-slash-terminal.spec.ts +++ b/packages/app/e2e/prompt/prompt-slash-terminal.spec.ts @@ -9,14 +9,12 @@ test("/terminal toggles the terminal panel", async ({ page, gotoSession }) => { await expect(terminal).not.toBeVisible() - await prompt.click() - await page.keyboard.type("/terminal") + await prompt.fill("/terminal") await expect(page.locator('[data-slash-id="terminal.toggle"]').first()).toBeVisible() await page.keyboard.press("Enter") await expect(terminal).toBeVisible() - await prompt.click() - await page.keyboard.type("/terminal") + await prompt.fill("/terminal") await expect(page.locator('[data-slash-id="terminal.toggle"]').first()).toBeVisible() await page.keyboard.press("Enter") await expect(terminal).not.toBeVisible() |
