mirror of
https://github.com/zen-browser/www.git
synced 2025-07-07 17:05:32 +02:00
9 lines
337 B
TypeScript
9 lines
337 B
TypeScript
import { expect, test } from '@playwright/test'
|
|
|
|
test('all routes do not return 404', async ({ page }) => {
|
|
const routes = ['/', '/welcome', '/about', '/privacy-policy', '/download', '/donate', '/whatsnew']
|
|
for (const route of routes) {
|
|
const response = await page.goto(route)
|
|
expect(response?.status()).not.toBe(404)
|
|
}
|
|
})
|