mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
test(app): space out the Inbox mode check
This commit is contained in:
parent
0328239696
commit
03f4e1c095
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ test("Home keeps the session list in every interface mode", async ({ page }) =>
|
|||
// The Inbox mode moves session tabs into the sidebar inbox; Home stays the session list. It is Beta-only, so the
|
||||
// dev server offers it but the production build CI tests (see playwright.config.ts) leaves it out.
|
||||
const inbox = !process.env.CI && process.env.PLAYWRIGHT_BUILD !== "1"
|
||||
|
||||
for (const mode of inbox ? ["Side tabs", "Inbox", "Top tabs"] : ["Side tabs", "Top tabs"]) {
|
||||
await page.keyboard.press("Control+,")
|
||||
const settings = page.getByTestId("settings-screen")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue