import { expect, test } from "@playwright/test" test("smoke", async ({ page }, testInfo) => { await page.goto("/") if (testInfo.project.name === "web-chromium") { await expect(page.getByRole("heading", { name: /your next\.js cms frontend/i })).toBeVisible() return } await expect(page.getByRole("heading", { name: /content dashboard/i })).toBeVisible() })