1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-23 02:10:01 +01:00
blog/test/e2e/404.spec.ts
Matthias Kretschmann 05ad0470c2
migrate to biome (#944)
* migrate to biome

* cleanup

* fix

* use tsx

* script tweaks

* fix test runs

* path tweaks
2024-07-27 21:15:05 +01:00

16 lines
358 B
TypeScript

import { expect, test } from '@playwright/test'
test.describe.configure({ mode: 'parallel' })
test.beforeEach(async ({ page }) => {
await page.goto('/404/')
})
test('matches screenshot', async ({ page }) => {
await expect(page).toHaveScreenshot()
})
test('meta is correct', async ({ page }) => {
await expect(page).toHaveTitle(/I'm sorry Dave/)
})