feat: Change e2e to be Playwright
Some checks failed
Build, check & Test / run (push) Failing after 1m0s

Signed-off-by: Avior <github@avior.me>
This commit is contained in:
2023-07-20 21:33:55 +02:00
parent db6236d8d8
commit 9a17362de3
12 changed files with 148 additions and 1924 deletions

5
e2e/README.md Normal file
View File

@ -0,0 +1,5 @@
# e2e
Hold End 2 End tests
currently WIP

8
e2e/example.spec.ts Normal file
View File

@ -0,0 +1,8 @@
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/);
})