Stabilize schedule and board e2e parity

This commit is contained in:
2026-05-14 23:34:32 +03:00
parent 1b183c334d
commit e0b69bf35f
21 changed files with 364 additions and 153 deletions
+4 -19
View File
@@ -8,26 +8,11 @@ const startLocalServer = !process.env.BASE_URL;
// burst can still trip 1-2 of them).
const isCI = !!process.env.CI;
// Quarantine — tests that fail consistently against the deployed prod build
// for reasons unrelated to deploy plumbing (Angular↔React parity gaps,
// missing section breadcrumbs, day-tab/time-filter UI behavior diffs,
// schedule date-picker week-snap, multi-segment connecting itinerary).
//
// Triaged in docs/superpowers/specs/2026-04-27-ssr-hydration-fix.md ("Out
// of scope" section). When CI_DEPLOY=1 (set by .gitea/workflows/ci-deploy
// only), Playwright skips this list so the deploy gate stays green; the
// release-verify workflow runs the full suite for slower-cadence triage.
const QUARANTINED_PATTERNS = [
"Breadcrumb parity with Angular.*Onlineboard (route page|details page)",
"Online Board.*flight number clear button",
"Online Board.*route search results page hydrates",
"TIRREDESIGN-8.*Onlineboard day-tabs",
"P1.*Table 7: breadcrumbs on search pages.*Schedule route",
"Schedule date-range picker.*single click snaps to Mon-Sun",
"Schedule date-range picker.*next-month bleed-in",
"connecting itinerary navigates to a multi-segment URL",
];
// Deploy-only quarantine. Keep this list empty unless a documented external
// blocker makes a specific e2e test unsuitable for CI_DEPLOY.
const QUARANTINED_PATTERNS: string[] = [];
const grepInvert = process.env.CI_DEPLOY
&& QUARANTINED_PATTERNS.length > 0
? new RegExp(QUARANTINED_PATTERNS.join("|"))
: undefined;