tricoteuses-legifrance/tests/test.ts

7 lines
200 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("/")
expect(await page.textContent("h1")).toBe("Welcome to SvelteKit")
})