fix: update tests for demo reorganisation (italy-2026-demo, central-asia ordering, japan real entry)

- dailies T2: switch ordering test to central-asia-2023 (pixelfed-1 oldest, pixelfed-22 newest)
- dailies T3-T6: update KNOWN_SLUG/TITLE/CITY/COUNTRY to the real japan entry (2026-06-17)
- stories S1-S7: update all italy-2025 URLs to italy-2026-demo
- stories S5/S6: fix URL regex and use val-dorcia-dawn for hero sanity check
- maps M5/M6: point Italy GPX map tests to italy-2026-demo (has markers + GPX)
- global-setup: run make demo-load before tests so italy-2026-demo always exists
- post P2: add retries:1 + test.setTimeout(60s) for intermittent FilePond upload
- user: story template hero fallback for media.types config override (see user commit)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vgmzx8VTTTmCskSpQtsLTr
This commit is contained in:
2026-06-20 16:31:37 +02:00
parent 9cb1b3cb3a
commit 0729e4ea1d
6 changed files with 28 additions and 24 deletions
+2 -1
View File
@@ -44,7 +44,8 @@ test('P1: post text-only entry → created on disk and visible on /dailies', asy
});
// ── P2: Post with photo ────────────────────────────────────────────────────────
test('P2: post entry with photo → photo saved in entry folder and visible on /dailies', async ({ page }) => {
test('P2: post entry with photo → photo saved in entry folder and visible on /dailies', { retries: 1 }, async ({ page }) => {
test.setTimeout(60_000);
const tag = `p2-${Date.now()}`;
const title = `UI Test ${tag}`;