diff options
| author | Adam <[email protected]> | 2026-02-04 11:03:54 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2026-02-04 11:03:54 -0600 |
| commit | ecd7854853b7f91fb1e65967bc2aef811dee7216 (patch) | |
| tree | d23ca1c11c8eb300af3b46701ef7c0d8a883722a | |
| parent | 57b8c6290994a9e1bd4c035e5cd8b34db5e5347e (diff) | |
| download | opencode-ecd7854853b7f91fb1e65967bc2aef811dee7216.tar.gz opencode-ecd7854853b7f91fb1e65967bc2aef811dee7216.zip | |
test(app): fix e2e test action
| -rw-r--r-- | packages/app/e2e/status/status-popover.spec.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/app/e2e/status/status-popover.spec.ts b/packages/app/e2e/status/status-popover.spec.ts index 4334cecb4..d53578a49 100644 --- a/packages/app/e2e/status/status-popover.spec.ts +++ b/packages/app/e2e/status/status-popover.spec.ts @@ -1,5 +1,5 @@ import { test, expect } from "../fixtures" -import { openStatusPopover, defocus } from "../actions" +import { openStatusPopover } from "../actions" test("status popover opens and shows tabs", async ({ page, gotoSession }) => { await gotoSession() @@ -88,7 +88,7 @@ test("status popover closes when clicking outside", async ({ page, gotoSession } const { popoverBody } = await openStatusPopover(page) await expect(popoverBody).toBeVisible() - await defocus(page) + await page.getByRole("main").click({ position: { x: 5, y: 5 } }) await expect(popoverBody).toHaveCount(0) }) |
