test(e2e): add mvp1 happy path scenarios

This commit is contained in:
2026-02-12 20:11:21 +01:00
parent dbf817c255
commit 7c4b667bc7
4 changed files with 106 additions and 23 deletions

View File

@@ -6,7 +6,9 @@ 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()
await expect(
page.getByRole("heading", { name: /home|your next\.js cms frontend/i }),
).toBeVisible()
await expect(page.getByText(BUILD_INFO_PATTERN)).toBeVisible()
return
}