trails/e2e
Ullrich Schäfer abb754e6a5 Replace waitForLoadState("networkidle") in e2e helpers
The SSE connection to /api/events (added with notifications) keeps the
network in-flight forever, so `networkidle` never resolves. Each save
in the affected helpers timed out at 30s × 3 retries, which both broke
the run and made it suspiciously long.

Switched to explicit waits:
- "Profile saved." text after settings save (notifications + public-content + social)
- "No pending follow requests." after Approve (social.test.ts)
- toBeHidden poll for the Mark all read button (notifications)
- toBeVisible poll for the empty-state copy after Approve (notifications)

These are all the affected `networkidle` call sites in e2e. The
fetcher.Form pattern stays — once the action commits, the page
revalidates and the post-state element appears.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 01:37:37 +02:00
..
fixtures Block unmocked external requests in E2E tests 2026-04-19 22:42:29 +02:00
auth.test.ts Block unmocked external requests in E2E tests 2026-04-19 22:42:29 +02:00
demo-bot.test.ts Fix e2e fallout from default-private profile_visibility 2026-04-25 23:46:56 +02:00
integration.test.ts Session-bind /api/route and /api/overpass 2026-04-21 22:18:45 +02:00
journal.test.ts Rebuild the Journal home around a public feed and flagship marketing 2026-04-24 20:00:23 +02:00
notifications.test.ts Replace waitForLoadState("networkidle") in e2e helpers 2026-04-26 01:37:37 +02:00
planner.test.ts Block unmocked external requests in E2E tests 2026-04-19 22:42:29 +02:00
public-content.test.ts Replace waitForLoadState("networkidle") in e2e helpers 2026-04-26 01:37:37 +02:00
settings.test.ts Block unmocked external requests in E2E tests 2026-04-19 22:42:29 +02:00
social.test.ts Replace waitForLoadState("networkidle") in e2e helpers 2026-04-26 01:37:37 +02:00