Files
radicle-explorer/tests/visual/desktop/notFound.spec.ts
T
Rūdolfs Ošiņš 5684b8ef42 Refactor visual tests
We use built in devices for testing instead of our own custom ones.
Split up desktop and mobile visual tests for better separation.
2024-01-05 17:45:20 +00:00

9 lines
235 B
TypeScript

import { expect, test } from "@tests/support/fixtures.js";
test("page not found", async ({ page }) => {
await page.goto("/this/page/does/not/exist", {
waitUntil: "networkidle",
});
await expect(page).toHaveScreenshot();
});