tricoteuses-legifrance/tests/test.ts

9 lines
231 B
TypeScript
Raw Normal View History

2022-08-09 10:44:30 +02:00
import { expect, test } from "@playwright/test"
2022-08-09 10:44:30 +02:00
test("index page has expected h1", async ({ page }) => {
await page.goto("/")
2023-08-05 21:50:39 +02:00
await expect(
page.getByRole("heading", { name: "Welcome to SvelteKit" }),
).toBeVisible()
2022-08-09 10:44:30 +02:00
})