1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 18:00:06 +01:00
blog/test/e2e/photos.spec.ts

10 lines
213 B
TypeScript

import { test, expect } from '@playwright/test'
test.beforeEach(async ({ page }) => {
await page.goto('/photos/')
})
test('meta is correct', async ({ page }) => {
await expect(page).toHaveTitle(/Photos/)
})