diff options
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() |
