template-web-astro/e2e/example.spec.ts
Florian Bouillon 9a17362de3
Some checks failed
Build, check & Test / run (push) Failing after 1m0s
feat: Change e2e to be Playwright
Signed-off-by: Avior <github@avior.me>
2023-07-20 21:33:55 +02:00

9 lines
203 B
TypeScript

import { expect, test } from '@playwright/test'
test('has title', async ({ page }) => {
await page.goto('/');
// Expect a title "to contain" a substring.
await expect(page).toHaveTitle(/Astro/);
})