summaryrefslogtreecommitdiffhomepage
path: root/packages/app/e2e
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-02-20 07:34:36 -0600
committerGitHub <[email protected]>2026-02-20 07:34:36 -0600
commit4e9ef3ecc1506c5087511105ac905564d2b0c73f (patch)
tree18fbcf3335def5699800082925a58325c1d9b8ba /packages/app/e2e
parent7e0e35af3fe468dd931dda955c62e03fd361fd9f (diff)
downloadopencode-4e9ef3ecc1506c5087511105ac905564d2b0c73f.tar.gz
opencode-4e9ef3ecc1506c5087511105ac905564d2b0c73f.zip
fix(app): terminal issues (#14435)
Diffstat (limited to 'packages/app/e2e')
-rw-r--r--packages/app/e2e/terminal/terminal-init.spec.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/app/e2e/terminal/terminal-init.spec.ts b/packages/app/e2e/terminal/terminal-init.spec.ts
index 87934b66e..18991bf76 100644
--- a/packages/app/e2e/terminal/terminal-init.spec.ts
+++ b/packages/app/e2e/terminal/terminal-init.spec.ts
@@ -6,6 +6,7 @@ test("smoke terminal mounts and can create a second tab", async ({ page, gotoSes
await gotoSession()
const terminals = page.locator(terminalSelector)
+ const tabs = page.locator('#terminal-panel [data-slot="tabs-trigger"]')
const opened = await terminals.first().isVisible()
if (!opened) {
@@ -21,6 +22,7 @@ test("smoke terminal mounts and can create a second tab", async ({ page, gotoSes
await page.locator(promptSelector).click()
await page.keyboard.press("Control+Alt+T")
- await expect(terminals).toHaveCount(2)
- await expect(terminals.nth(1).locator("textarea")).toHaveCount(1)
+ await expect(tabs).toHaveCount(2)
+ await expect(terminals).toHaveCount(1)
+ await expect(terminals.first().locator("textarea")).toHaveCount(1)
})