test(e2e): add mvp1 happy path scenarios
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user