front: add stdcm simulation sheet e2e test #17606
Annotations
2 errors, 6 warnings, and 1 notice
Run Playwright tests:
tests/pages/stdcm-page-model.ts#L737
1) [webkit] › 006-stdcm.spec.ts:102:7 › Verify stdcm simulation page › Launch simulation with and without capacity for towed rolling stock
Error: expect(received).toEqual(expected) // deep equality
Expected: "Pas de capacité"
Received: "Simulation n°2"
at pages/stdcm-page-model.ts:737
735 | const actualSimulationName =
736 | await this.getSimulationNameLocator(simulationNumber).textContent();
> 737 | expect(actualSimulationName).toEqual(expectedSimulationName);
| ^
738 |
739 | // Determine expected length and duration
740 | const expectedLengthAndDuration = isResultTableVisible
at STDCMPage.verifySimulationDetails (/app/front/tests/pages/stdcm-page-model.ts:737:34)
at /app/front/tests/006-stdcm.spec.ts:132:5
|
Run Playwright tests:
tests/pages/stdcm-page-model.ts#L696
2) [webkit] › 013-stdcm-simulation-sheet.spec.ts:60:7 › Verify stdcm simulation page › Verify STDCM stops and simulation sheet
Error: Timeout 90000ms exceeded while waiting on the predicate
at pages/stdcm-page-model.ts:696
694 | await download.saveAs(downloadPath);
695 | logger.info(`The PDF was successfully downloaded to: ${downloadPath}`);
> 696 | }).toPass({
| ^
697 | timeout: EXPECT_TO_PASS_TIMEOUT,
698 | });
699 | }
at STDCMPage.downloadSimulation (/app/front/tests/pages/stdcm-page-model.ts:696:8)
at /app/front/tests/013-stdcm-simulation-sheet.spec.ts:89:21
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run Playwright tests:
[chromium] › 013-stdcm-simulation-sheet.spec.ts#L1
[chromium] › 013-stdcm-simulation-sheet.spec.ts took 32.4s
|
Run Playwright tests:
[chromium] › 009-rollingstock-editor.spec.ts#L1
[chromium] › 009-rollingstock-editor.spec.ts took 29.9s
|
Run Playwright tests:
[firefox] › 013-stdcm-simulation-sheet.spec.ts#L1
[firefox] › 013-stdcm-simulation-sheet.spec.ts took 26.6s
|
Run Playwright tests:
[chromium] › 005-operational-studies.spec.ts#L1
[chromium] › 005-operational-studies.spec.ts took 20.4s
|
Run Playwright tests:
[chromium] › 007-op-rollingstock-tab.spec.ts#L1
[chromium] › 007-op-rollingstock-tab.spec.ts took 16.4s
|
Run Playwright tests
2 flaky
[webkit] › 006-stdcm.spec.ts:102:7 › Verify stdcm simulation page › Launch simulation with and without capacity for towed rolling stock
[webkit] › 013-stdcm-simulation-sheet.spec.ts:60:7 › Verify stdcm simulation page › Verify STDCM stops and simulation sheet
114 passed (13.7m)
|
Loading