Skip to content

front: handle uncaught exceptions for e2e tests #20926

front: handle uncaught exceptions for e2e tests

front: handle uncaught exceptions for e2e tests #20926

Triggered via pull request March 7, 2025 22:05
Status Failure
Total duration 12m 43s
Artifacts 3

build.yml

on: pull_request
Matrix: Build
Check dockerfiles
14s
Check dockerfiles
Check scripts
6s
Check scripts
Check generated railjson sync
25s
Check generated railjson sync
Check railjson generator
25s
Check railjson generator
Check commits
11s
Check commits
Check final newline
10s
Check final newline
Check integration tests
1m 23s
Check integration tests
Check osrd schema
19s
Check osrd schema
Check toml
7s
Check toml
Check infra schema sync
18s
Check infra schema sync
Check reuse compliance
11s
Check reuse compliance
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 4 warnings, and 1 notice
[chromium] › 008-train-schedule.spec.ts:82:3 › Verify train schedule elements and filters › Loading trains and verifying simulation result: tests/pages/operational-studies/simulation-results-page.ts#L62
1) [chromium] › 008-train-schedule.spec.ts:82:3 › Verify train schedule elements and filters › Loading trains and verifying simulation result Error: Simulation result element getByTestId('time-stops-datasheet') is not visible within timeout. at pages/operational-studies/simulation-results-page.ts:62 60 | for (const locator of simulationResultsLocators) { 61 | await locator.waitFor({ state: 'visible', timeout: SIMULATION_RESULT_TIMEOUT }).catch(() => { > 62 | throw new Error(`Simulation result element ${locator} is not visible within timeout.`); | ^ 63 | }); 64 | } 65 | } at /app/front/tests/pages/operational-studies/simulation-results-page.ts:62:15 at ScenarioTimetableSection.verifySimulationResultsVisibility (/app/front/tests/pages/operational-studies/simulation-results-page.ts:61:7) at ScenarioTimetableSection.verifyEachTrainSimulation (/app/front/tests/pages/operational-studies/scenario-timetable-section.ts:316:7) at /app/front/tests/008-train-schedule.spec.ts:92:5
[chromium] › 008-train-schedule.spec.ts:82:3 › Verify train schedule elements and filters › Loading trains and verifying simulation result: tests/pages/operational-studies/simulation-results-page.ts#L62
1) [chromium] › 008-train-schedule.spec.ts:82:3 › Verify train schedule elements and filters › Loading trains and verifying simulation result Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Simulation result element getByTestId('time-stops-datasheet') is not visible within timeout. at pages/operational-studies/simulation-results-page.ts:62 60 | for (const locator of simulationResultsLocators) { 61 | await locator.waitFor({ state: 'visible', timeout: SIMULATION_RESULT_TIMEOUT }).catch(() => { > 62 | throw new Error(`Simulation result element ${locator} is not visible within timeout.`); | ^ 63 | }); 64 | } 65 | } at /app/front/tests/pages/operational-studies/simulation-results-page.ts:62:15 at ScenarioTimetableSection.verifySimulationResultsVisibility (/app/front/tests/pages/operational-studies/simulation-results-page.ts:61:7) at ScenarioTimetableSection.verifyEachTrainSimulation (/app/front/tests/pages/operational-studies/scenario-timetable-section.ts:316:7) at /app/front/tests/008-train-schedule.spec.ts:92:5
[chromium] › 011-op-times-and-stops-tab.spec.ts:126:3 › Times and Stops Tab Verification › should correctly set and display times and stops tables: tests/pages/operational-studies/time-stop-simulation-outputs.ts#L153
2) [chromium] › 011-op-times-and-stops-tab.spec.ts:126:3 › Times and Stops Tab Verification › should correctly set and display times and stops tables TimeoutError: locator.waitFor: Timeout 30000ms exceeded. Call log: - waiting for getByTestId('time-stops-datasheet') to be visible at pages/operational-studies/time-stop-simulation-outputs.ts:153 151 | // Wait for the Times and Stops simulation data sheet to be fully loaded 152 | async verifyTimesStopsDataSheetVisibility(): Promise<void> { > 153 | await this.timesStopsDataSheet.waitFor({ timeout: LOAD_PAGE_TIMEOUT }); | ^ 154 | await this.timesStopsDataSheet.scrollIntoViewIfNeeded(); 155 | } 156 | } at TimeAndStopSimulationOutputs.verifyTimesStopsDataSheetVisibility (/app/front/tests/pages/operational-studies/time-stop-simulation-outputs.ts:153:36) at /app/front/tests/011-op-times-and-stops-tab.spec.ts:177:40
[chromium] › 011-op-times-and-stops-tab.spec.ts:126:3 › Times and Stops Tab Verification › should correctly set and display times and stops tables: tests/pages/operational-studies/time-stop-simulation-outputs.ts#L153
2) [chromium] › 011-op-times-and-stops-tab.spec.ts:126:3 › Times and Stops Tab Verification › should correctly set and display times and stops tables Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 30000ms exceeded. Call log: - waiting for getByTestId('time-stops-datasheet') to be visible at pages/operational-studies/time-stop-simulation-outputs.ts:153 151 | // Wait for the Times and Stops simulation data sheet to be fully loaded 152 | async verifyTimesStopsDataSheetVisibility(): Promise<void> { > 153 | await this.timesStopsDataSheet.waitFor({ timeout: LOAD_PAGE_TIMEOUT }); | ^ 154 | await this.timesStopsDataSheet.scrollIntoViewIfNeeded(); 155 | } 156 | } at TimeAndStopSimulationOutputs.verifyTimesStopsDataSheetVisibility (/app/front/tests/pages/operational-studies/time-stop-simulation-outputs.ts:153:36) at /app/front/tests/011-op-times-and-stops-tab.spec.ts:177:40
[chromium] › 012-op-simulation-settings-tab.spec.ts:158:3 › Simulation Settings Tab Verification › Activate electrical profiles: tests/pages/operational-studies/time-stop-simulation-outputs.ts#L153
3) [chromium] › 012-op-simulation-settings-tab.spec.ts:158:3 › Simulation Settings Tab Verification › Activate electrical profiles TimeoutError: locator.waitFor: Timeout 30000ms exceeded. Call log: - waiting for getByTestId('time-stops-datasheet') to be visible at pages/operational-studies/time-stop-simulation-outputs.ts:153 151 | // Wait for the Times and Stops simulation data sheet to be fully loaded 152 | async verifyTimesStopsDataSheetVisibility(): Promise<void> { > 153 | await this.timesStopsDataSheet.waitFor({ timeout: LOAD_PAGE_TIMEOUT }); | ^ 154 | await this.timesStopsDataSheet.scrollIntoViewIfNeeded(); 155 | } 156 | } at TimeAndStopSimulationOutputs.verifyTimesStopsDataSheetVisibility (/app/front/tests/pages/operational-studies/time-stop-simulation-outputs.ts:153:36) at /app/front/tests/012-op-simulation-settings-tab.spec.ts:181:40
[chromium] › 012-op-simulation-settings-tab.spec.ts:158:3 › Simulation Settings Tab Verification › Activate electrical profiles: tests/pages/operational-studies/time-stop-simulation-outputs.ts#L153
3) [chromium] › 012-op-simulation-settings-tab.spec.ts:158:3 › Simulation Settings Tab Verification › Activate electrical profiles Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 30000ms exceeded. Call log: - waiting for getByTestId('time-stops-datasheet') to be visible at pages/operational-studies/time-stop-simulation-outputs.ts:153 151 | // Wait for the Times and Stops simulation data sheet to be fully loaded 152 | async verifyTimesStopsDataSheetVisibility(): Promise<void> { > 153 | await this.timesStopsDataSheet.waitFor({ timeout: LOAD_PAGE_TIMEOUT }); | ^ 154 | await this.timesStopsDataSheet.scrollIntoViewIfNeeded(); 155 | } 156 | } at TimeAndStopSimulationOutputs.verifyTimesStopsDataSheetVisibility (/app/front/tests/pages/operational-studies/time-stop-simulation-outputs.ts:153:36) at /app/front/tests/012-op-simulation-settings-tab.spec.ts:181:40
[chromium] › 012-op-simulation-settings-tab.spec.ts:203:3 › Simulation Settings Tab Verification › Activate composition code: tests/pages/operational-studies/time-stop-simulation-outputs.ts#L153
4) [chromium] › 012-op-simulation-settings-tab.spec.ts:203:3 › Simulation Settings Tab Verification › Activate composition code TimeoutError: locator.waitFor: Timeout 30000ms exceeded. Call log: - waiting for getByTestId('time-stops-datasheet') to be visible at pages/operational-studies/time-stop-simulation-outputs.ts:153 151 | // Wait for the Times and Stops simulation data sheet to be fully loaded 152 | async verifyTimesStopsDataSheetVisibility(): Promise<void> { > 153 | await this.timesStopsDataSheet.waitFor({ timeout: LOAD_PAGE_TIMEOUT }); | ^ 154 | await this.timesStopsDataSheet.scrollIntoViewIfNeeded(); 155 | } 156 | } at TimeAndStopSimulationOutputs.verifyTimesStopsDataSheetVisibility (/app/front/tests/pages/operational-studies/time-stop-simulation-outputs.ts:153:36) at /app/front/tests/012-op-simulation-settings-tab.spec.ts:226:40
[chromium] › 012-op-simulation-settings-tab.spec.ts:203:3 › Simulation Settings Tab Verification › Activate composition code: tests/pages/operational-studies/time-stop-simulation-outputs.ts#L153
4) [chromium] › 012-op-simulation-settings-tab.spec.ts:203:3 › Simulation Settings Tab Verification › Activate composition code Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 30000ms exceeded. Call log: - waiting for getByTestId('time-stops-datasheet') to be visible at pages/operational-studies/time-stop-simulation-outputs.ts:153 151 | // Wait for the Times and Stops simulation data sheet to be fully loaded 152 | async verifyTimesStopsDataSheetVisibility(): Promise<void> { > 153 | await this.timesStopsDataSheet.waitFor({ timeout: LOAD_PAGE_TIMEOUT }); | ^ 154 | await this.timesStopsDataSheet.scrollIntoViewIfNeeded(); 155 | } 156 | } at TimeAndStopSimulationOutputs.verifyTimesStopsDataSheetVisibility (/app/front/tests/pages/operational-studies/time-stop-simulation-outputs.ts:153:36) at /app/front/tests/012-op-simulation-settings-tab.spec.ts:226:40
[chromium] › 012-op-simulation-settings-tab.spec.ts:248:3 › Simulation Settings Tab Verification › Activate linear and mareco margin: tests/pages/operational-studies/time-stop-simulation-outputs.ts#L153
5) [chromium] › 012-op-simulation-settings-tab.spec.ts:248:3 › Simulation Settings Tab Verification › Activate linear and mareco margin TimeoutError: locator.waitFor: Timeout 30000ms exceeded. Call log: - waiting for getByTestId('time-stops-datasheet') to be visible at pages/operational-studies/time-stop-simulation-outputs.ts:153 151 | // Wait for the Times and Stops simulation data sheet to be fully loaded 152 | async verifyTimesStopsDataSheetVisibility(): Promise<void> { > 153 | await this.timesStopsDataSheet.waitFor({ timeout: LOAD_PAGE_TIMEOUT }); | ^ 154 | await this.timesStopsDataSheet.scrollIntoViewIfNeeded(); 155 | } 156 | } at TimeAndStopSimulationOutputs.verifyTimesStopsDataSheetVisibility (/app/front/tests/pages/operational-studies/time-stop-simulation-outputs.ts:153:36) at /app/front/tests/012-op-simulation-settings-tab.spec.ts:281:40
[chromium] › 012-op-simulation-settings-tab.spec.ts:248:3 › Simulation Settings Tab Verification › Activate linear and mareco margin: tests/pages/operational-studies/time-stop-simulation-outputs.ts#L153
5) [chromium] › 012-op-simulation-settings-tab.spec.ts:248:3 › Simulation Settings Tab Verification › Activate linear and mareco margin Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 30000ms exceeded. Call log: - waiting for getByTestId('time-stops-datasheet') to be visible at pages/operational-studies/time-stop-simulation-outputs.ts:153 151 | // Wait for the Times and Stops simulation data sheet to be fully loaded 152 | async verifyTimesStopsDataSheetVisibility(): Promise<void> { > 153 | await this.timesStopsDataSheet.waitFor({ timeout: LOAD_PAGE_TIMEOUT }); | ^ 154 | await this.timesStopsDataSheet.scrollIntoViewIfNeeded(); 155 | } 156 | } at TimeAndStopSimulationOutputs.verifyTimesStopsDataSheetVisibility (/app/front/tests/pages/operational-studies/time-stop-simulation-outputs.ts:153:36) at /app/front/tests/012-op-simulation-settings-tab.spec.ts:281:40
Slow Test: [chromium] › 014-stdcm-linked-train.spec.ts#L1
[chromium] › 014-stdcm-linked-train.spec.ts took 30.8s
Slow Test: [chromium] › 009-rolling-stock-editor.spec.ts#L1
[chromium] › 009-rolling-stock-editor.spec.ts took 29.8s
Slow Test: [chromium] › 013-stdcm-simulation-sheet.spec.ts#L1
[chromium] › 013-stdcm-simulation-sheet.spec.ts took 26.3s
Slow Test: [chromium] › 010-op-route-tab.spec.ts#L1
[chromium] › 010-op-route-tab.spec.ts took 20.0s
🎭 Playwright Run Summary
6 failed [chromium] › 008-train-schedule.spec.ts:82:3 › Verify train schedule elements and filters › Loading trains and verifying simulation result [chromium] › 011-op-times-and-stops-tab.spec.ts:126:3 › Times and Stops Tab Verification › should correctly set and display times and stops tables [chromium] › 012-op-simulation-settings-tab.spec.ts:158:3 › Simulation Settings Tab Verification › Activate electrical profiles [chromium] › 012-op-simulation-settings-tab.spec.ts:203:3 › Simulation Settings Tab Verification › Activate composition code [chromium] › 012-op-simulation-settings-tab.spec.ts:248:3 › Simulation Settings Tab Verification › Activate linear and mareco margin [chromium] › 012-op-simulation-settings-tab.spec.ts:304:3 › Simulation Settings Tab Verification › Add all the simulation settings 38 passed (7.7m)

Artifacts

Produced during runtime
Name Size
e2e-container-logs
255 KB
e2e-traces-and-videos
48.2 MB
integration-container-logs
37.3 KB