Todo
This commit is contained in:
12
e2e/smoke.pw.ts
Normal file
12
e2e/smoke.pw.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
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()
|
||||
})
|
||||
Reference in New Issue
Block a user