test: fix stale trip-slug references; add home, highlights, a11y specs

This commit is contained in:
2026-06-21 16:12:42 +02:00
parent d507d04825
commit 508fcbdbe8
7 changed files with 277 additions and 57 deletions
+10
View File
@@ -0,0 +1,10 @@
// @ts-check
// Tests: H1 — home page journal feed
const { test, expect } = require('@playwright/test');
// ── H1: Home page renders inline journal posts ─────────────────────────────────
test('H1: home page shows at least one inline journal-post block', async ({ page }) => {
await page.goto('/');
await expect(page.locator('.journal-post').first()).toBeVisible();
await expect(page.locator('.site-header')).toBeVisible();
});