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' });