feat: Change e2e to be Playwright
Some checks failed
Build, check & Test / run (push) Failing after 1m0s
Some checks failed
Build, check & Test / run (push) Failing after 1m0s
Signed-off-by: Avior <github@avior.me>
This commit is contained in:
5
e2e/README.md
Normal file
5
e2e/README.md
Normal file
@ -0,0 +1,5 @@
|
||||
# e2e
|
||||
|
||||
Hold End 2 End tests
|
||||
|
||||
currently WIP
|
8
e2e/example.spec.ts
Normal file
8
e2e/example.spec.ts
Normal 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/);
|
||||
})
|
Reference in New Issue
Block a user