Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion projects/compass.web/packages/web/e2e/testing.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -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' });
Expand Down
Loading