diff --git a/static/404.html b/static/404.html
index 1fbbe9f..54bcf97 100644
--- a/static/404.html
+++ b/static/404.html
@@ -58,7 +58,7 @@
🔍
- 404 Not Found
+ 404 Not Found
This page went off to find itself. We’re not sure it’s coming back.
Back to mifi Ventures →
diff --git a/static/410.html b/static/410.html
index 549b46a..cd4b577 100644
--- a/static/410.html
+++ b/static/410.html
@@ -58,7 +58,7 @@
👋
- 410 Gone
+ 410 Gone
This page has left the building. We’ve moved on—and so should you.
Back to mifi Ventures →
diff --git a/tests/visual.spec.ts b/tests/visual.spec.ts
index 4ad6be5..db18516 100644
--- a/tests/visual.spec.ts
+++ b/tests/visual.spec.ts
@@ -140,4 +140,16 @@ test.describe('visual regression', () => {
await expect(page.locator('#cookie-banner')).not.toBeVisible();
await expect(page).toHaveScreenshot('terms-of-service.png', { fullPage: true });
});
+
+ test('404 page matches snapshot', async ({ page }) => {
+ await page.goto('/404');
+ await expect(page).toHaveTitle(/404 | mifi Ventures/);
+ await expect(page).toHaveScreenshot('404.png', { fullPage: true });
+ });
+
+ test('410 page matches snapshot', async ({ page }) => {
+ await page.goto('/410');
+ await expect(page).toHaveTitle(/410 | mifi Ventures/);
+ await expect(page).toHaveScreenshot('410.png', { fullPage: true });
+ });
});
diff --git a/tests/visual.spec.ts-snapshots/404-chromium-desktop-linux.png b/tests/visual.spec.ts-snapshots/404-chromium-desktop-linux.png
new file mode 100644
index 0000000..b03e2a6
Binary files /dev/null and b/tests/visual.spec.ts-snapshots/404-chromium-desktop-linux.png differ
diff --git a/tests/visual.spec.ts-snapshots/404-chromium-mobile-linux.png b/tests/visual.spec.ts-snapshots/404-chromium-mobile-linux.png
new file mode 100644
index 0000000..0f7d61a
Binary files /dev/null and b/tests/visual.spec.ts-snapshots/404-chromium-mobile-linux.png differ
diff --git a/tests/visual.spec.ts-snapshots/410-chromium-desktop-linux.png b/tests/visual.spec.ts-snapshots/410-chromium-desktop-linux.png
new file mode 100644
index 0000000..b5b5078
Binary files /dev/null and b/tests/visual.spec.ts-snapshots/410-chromium-desktop-linux.png differ
diff --git a/tests/visual.spec.ts-snapshots/410-chromium-mobile-linux.png b/tests/visual.spec.ts-snapshots/410-chromium-mobile-linux.png
new file mode 100644
index 0000000..27f47d2
Binary files /dev/null and b/tests/visual.spec.ts-snapshots/410-chromium-mobile-linux.png differ