Skip to content

front: add stdcm simulation sheet e2e test #17606

front: add stdcm simulation sheet e2e test

front: add stdcm simulation sheet e2e test #17606

Triggered via pull request January 15, 2025 09:18
Status Failure
Total duration 19m 12s
Artifacts 3

build.yml

on: pull_request
Matrix: Build
Check dockerfiles
23s
Check dockerfiles
Check scripts
5s
Check scripts
Check generated railjson sync
22s
Check generated railjson sync
Check railjson generator
1m 52s
Check railjson generator
Check commits
8s
Check commits
Check final newline
29s
Check final newline
Check integration tests
1m 19s
Check integration tests
Check osrd schema
40s
Check osrd schema
Check toml
5s
Check toml
Check infra schema sync
16s
Check infra schema sync
Check reuse compliance
9s
Check reuse compliance
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 31 warnings, and 1 notice
Check commits
Process completed with exit code 1.
[webkit] › 006-stdcm.spec.ts:102:7 › Verify stdcm simulation page › Launch simulation with and without capacity for towed rolling stock: 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
[webkit] › 013-stdcm-simulation-sheet.spec.ts:60:7 › Verify stdcm simulation page › Verify STDCM stops and simulation sheet: 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
Check scripts
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check toml
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check commits
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check reuse compliance
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build (editoast, editoast-test)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build (osrdyne, osrdyne-test)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build (core-build, core)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check infra schema sync
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check generated railjson sync
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check dockerfiles
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check final newline
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check osrd schema
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check integration tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check railjson generator
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build (front-build, front-tests, front-devel, front-nginx)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build (gateway-test, gateway-standalone, gateway-front)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check editoast openapi
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check front rtk sync
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check front
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check gateway
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check osrdyne
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check core
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check editoast tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check editoast lints
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
End to end tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › 013-stdcm-simulation-sheet.spec.ts#L1
[chromium] › 013-stdcm-simulation-sheet.spec.ts took 32.4s
Slow Test: [chromium] › 009-rollingstock-editor.spec.ts#L1
[chromium] › 009-rollingstock-editor.spec.ts took 29.9s
Slow Test: [firefox] › 013-stdcm-simulation-sheet.spec.ts#L1
[firefox] › 013-stdcm-simulation-sheet.spec.ts took 26.6s
Slow Test: [chromium] › 005-operational-studies.spec.ts#L1
[chromium] › 005-operational-studies.spec.ts took 20.4s
Slow Test: [chromium] › 007-op-rollingstock-tab.spec.ts#L1
[chromium] › 007-op-rollingstock-tab.spec.ts took 16.4s
🎭 Playwright Run Summary
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)

Artifacts

Produced during runtime
Name Size
e2e-container-logs
470 KB
integration-container-logs
29.8 KB
integration-videos
20.3 MB