mirror of
https://github.com/kremalicious/blog.git
synced 2025-01-08 20:55:45 +01:00
16 lines
357 B
TypeScript
16 lines
357 B
TypeScript
|
import { test, expect } 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/)
|
||
|
})
|