From b1f4f275375790a791cb368ea1853d660168fd77 Mon Sep 17 00:00:00 2001 From: Marco Craveiro Date: Sat, 5 Dec 2026 14:08:05 +0000 Subject: [PATCH] [web] Ask the testing view for the sprint the fixture lives in The testing view opens the active sprint. Sprint 2 opened today, so the e2e that runs a Sprint 1 scenario found a sprint with no scenarios and timed out. Name Sprint 1, as the board and charts e2e already do. Co-Authored-By: Claude Code --- projects/compass.web/packages/web/e2e/testing.spec.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/projects/compass.web/packages/web/e2e/testing.spec.ts b/projects/compass.web/packages/web/e2e/testing.spec.ts index 96818aec..40e41834 100644 --- a/projects/compass.web/packages/web/e2e/testing.spec.ts +++ b/projects/compass.web/packages/web/e2e/testing.spec.ts @@ -26,6 +26,7 @@ import { expect, test, type Page } from '@playwright/test'; const ENVIRONMENT = process.env['COMPASS_WEB_REPOSITORY'] ?? 'compass'; const COMPASS = process.env['COMPASS_WEB_COMPASS']; const CHECKOUT = process.env['COMPASS_WEB_CHECKOUT']; +const SPRINT_1 = '850C1BC8-FE02-4EE0-A5D6-6085DC34CE27'; const SCENARIO = '93E7F7AC-FAD4-43E2-9974-01E55A26C471'; const STORY_DIRECTORY = 'doc/agile/versions/v0/sprint_01/build_the_compass_web_front_end'; @@ -54,7 +55,9 @@ test('a tester runs a scenario with a screenshot, finishes it, reads its report page, }) => { const sent = writes(page); - await page.goto(`/${ENVIRONMENT}/testing`); + // The scenario and its story are Sprint 1 fixtures, so ask the view for + // that sprint rather than whichever one happens to be active. + await page.goto(`/${ENVIRONMENT}/testing?sprint=${SPRINT_1}`); const story = page .getByTestId('testing-story') .filter({ hasText: 'Build the compass web front end' });