test(app): space out the Inbox mode check

This commit is contained in:
Brendonovich 2026-10-27 06:47:57 +00:00
parent 0328239696
commit 03f4e1c095

View file

@ -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")