front: use Date instead of a string in times and stops helpers #15388
build.yml
on: pull_request
Matrix: Build
Check dockerfiles
14s
Check scripts
4s
Check generated railjson sync
30s
Check railjson generator
1m 52s
Check commits
7s
Check final newline
10s
Check integration tests
1m 25s
Check osrd schema
41s
Check toml
6s
Check infra schema sync
21s
Check reuse compliance
10s
Check front rtk sync
1m 37s
Check core
4m 10s
Check editoast tests
6m 34s
Check editoast lints
9m 14s
Check editoast openapi
1m 7s
Check gateway
3m 28s
Check osrdyne
3m 49s
Check front
2m 33s
Integration tests
1m 45s
End to end tests
16m 34s
Annotations
5 errors, 31 warnings, and 1 notice
[chromium] › 008-train-schedule.spec.ts:49:7 › Verify train schedule elements and filters › Loading trains and verifying simulation result:
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.
|
[chromium] › 008-train-schedule.spec.ts:49:7 › Verify train schedule elements and filters › Loading trains and verifying simulation result:
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
|
[chromium] › 008-train-schedule.spec.ts:49:7 › Verify train schedule elements and filters › Loading trains and verifying simulation result:
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.
|
[chromium] › 008-train-schedule.spec.ts:49:7 › Verify train schedule elements and filters › Loading trains and verifying simulation result:
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
|
[firefox] › 012-op-simulation-settings-tab.spec.ts:184:7 › Simulation Settings Tab Verification › Activate composition code:
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
|
Check scripts
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 toml
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 reuse compliance
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
|
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
|
Check dockerfiles
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
|
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
|
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 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 (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
|
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
|
Check editoast openapi
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
|
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
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] › 012-op-simulation-settings-tab.spec.ts#L1
[chromium] › 012-op-simulation-settings-tab.spec.ts took 1.4m
|
Slow Test:
[firefox] › 006-stdcm.spec.ts#L1
[firefox] › 006-stdcm.spec.ts took 49.8s
|
Slow Test:
[chromium] › 006-stdcm.spec.ts#L1
[chromium] › 006-stdcm.spec.ts took 48.8s
|
Slow Test:
[firefox] › 009-rollingstock-editor.spec.ts#L1
[firefox] › 009-rollingstock-editor.spec.ts took 31.3s
|
Slow Test:
[chromium] › 011-op-times-and-stops-tab.spec.ts#L1
[chromium] › 011-op-times-and-stops-tab.spec.ts took 27.8s
|
🎭 Playwright Run Summary
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)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-container-logs
Expired
|
388 KB |
|
integration-container-logs
Expired
|
24.4 KB |
|
integration-videos
Expired
|
20.6 MB |
|