front: use Date instead of a string in times and stops helpers #15388
Annotations
5 errors, 6 warnings, and 1 notice
Run Playwright tests:
tests/008-train-schedule.spec.ts#L1
1) [chromium] › 008-train-schedule.spec.ts:49:7 › Verify train schedule elements and filters › Loading trains and verifying simulation result
Test timeout of 270000ms exceeded.
|
Run Playwright tests:
tests/pages/op-timetable-page-model.ts#L204
1) [chromium] › 008-train-schedule.spec.ts:49:7 › Verify train schedule elements and filters › Loading trains and verifying simulation result
Error: page.waitForLoadState: Test timeout of 270000ms exceeded.
at pages/op-timetable-page-model.ts:204
202 |
203 | for (let currentTrainIndex = 0; currentTrainIndex < trainCount; currentTrainIndex += 1) {
> 204 | await this.page.waitForLoadState('networkidle');
| ^
205 | await this.waitForSimulationResults();
206 | const trainButton = OperationalStudiesTimetablePage.getTrainButton(
207 | this.timetableTrains.nth(currentTrainIndex)
at OperationalStudiesTimetablePage.verifyEachTrainSimulation (/app/front/tests/pages/op-timetable-page-model.ts:204:23)
at /app/front/tests/008-train-schedule.spec.ts:57:5
|
Run Playwright tests:
tests/008-train-schedule.spec.ts#L1
1) [chromium] › 008-train-schedule.spec.ts:49:7 › Verify train schedule elements and filters › Loading trains and verifying simulation result
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 270000ms exceeded.
|
Run Playwright tests:
tests/pages/op-timetable-page-model.ts#L204
1) [chromium] › 008-train-schedule.spec.ts:49:7 › Verify train schedule elements and filters › Loading trains and verifying simulation result
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.waitForLoadState: Test timeout of 270000ms exceeded.
at pages/op-timetable-page-model.ts:204
202 |
203 | for (let currentTrainIndex = 0; currentTrainIndex < trainCount; currentTrainIndex += 1) {
> 204 | await this.page.waitForLoadState('networkidle');
| ^
205 | await this.waitForSimulationResults();
206 | const trainButton = OperationalStudiesTimetablePage.getTrainButton(
207 | this.timetableTrains.nth(currentTrainIndex)
at OperationalStudiesTimetablePage.verifyEachTrainSimulation (/app/front/tests/pages/op-timetable-page-model.ts:204:23)
at /app/front/tests/008-train-schedule.spec.ts:57:5
|
Run Playwright tests:
tests/pages/op-output-table-page-model.ts#L147
2) [firefox] › 012-op-simulation-settings-tab.spec.ts:184:7 › Simulation Settings Tab Verification › Activate composition code
TimeoutError: locator.waitFor: Timeout 60000ms exceeded.
Call log:
- waiting for locator('.time-stops-datasheet') to be visible
at pages/op-output-table-page-model.ts:147
145 | // Wait for the Times and Stops simulation data sheet to be fully loaded with a specified timeout (default: 60 seconds)
146 | async verifyTimesStopsDataSheetVisibility(timeout = 60 * 1000): Promise<void> {
> 147 | await this.timesStopsDataSheet.waitFor({ state: 'visible', timeout });
| ^
148 | await this.page.waitForTimeout(100); // Short delay for stabilization
149 | await this.timesStopsDataSheet.scrollIntoViewIfNeeded({ timeout });
150 | }
at OperationalStudiesOutputTablePage.verifyTimesStopsDataSheetVisibility (/app/front/tests/pages/op-output-table-page-model.ts:147:36)
at /app/front/tests/012-op-simulation-settings-tab.spec.ts:223:29
|
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] › 012-op-simulation-settings-tab.spec.ts#L1
[chromium] › 012-op-simulation-settings-tab.spec.ts took 1.4m
|
Run Playwright tests:
[firefox] › 006-stdcm.spec.ts#L1
[firefox] › 006-stdcm.spec.ts took 49.8s
|
Run Playwright tests:
[chromium] › 006-stdcm.spec.ts#L1
[chromium] › 006-stdcm.spec.ts took 48.8s
|
Run Playwright tests:
[firefox] › 009-rollingstock-editor.spec.ts#L1
[firefox] › 009-rollingstock-editor.spec.ts took 31.3s
|
Run Playwright tests:
[chromium] › 011-op-times-and-stops-tab.spec.ts#L1
[chromium] › 011-op-times-and-stops-tab.spec.ts took 27.8s
|
Run Playwright tests
2 flaky
[chromium] › 008-train-schedule.spec.ts:49:7 › Verify train schedule elements and filters › Loading trains and verifying simulation result
[firefox] › 012-op-simulation-settings-tab.spec.ts:184:7 › Simulation Settings Tab Verification › Activate composition code
108 passed (14.4m)
|
Loading