front: fix train selection in the anterior or posterior train list #16905
build.yml
on: push
Matrix: Build
Check dockerfiles
20s
Check scripts
4s
Check generated railjson sync
23s
Check railjson generator
1m 55s
Check commits
7s
Check final newline
9s
Check integration tests
1m 27s
Check osrd schema
45s
Check toml
5s
Check infra schema sync
16s
Check reuse compliance
10s
Check front rtk sync
1m 14s
Check core
4m 9s
Check editoast tests
6m 48s
Check editoast lints
8m 30s
Check editoast openapi
48s
Check gateway
3m 37s
Check osrdyne
4m 4s
Check front
3m 18s
Integration tests
1m 6s
End to end tests
15m 8s
Annotations
2 errors, 28 warnings, and 1 notice
[webkit] › 006-stdcm.spec.ts:97:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet:
tests/pages/stdcm-page-model.ts#L616
1) [webkit] › 006-stdcm.spec.ts:97:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet
Error: Timed out 10000ms waiting for expect(locator).toBeEnabled()
Locator: getByTestId('launch-simulation-button')
Expected: enabled
Received: disabled
Call log:
- expect.toBeEnabled with timeout 10000ms
- waiting for getByTestId('launch-simulation-button')
- locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button>
- unexpected value "disabled"
- locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button>
- unexpected value "disabled"
- locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button>
- unexpected value "disabled"
- locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button>
- unexpected value "disabled"
- locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button>
- unexpected value "disabled"
- locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button>
- unexpected value "disabled"
- locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button>
- unexpected value "disabled"
- locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button>
- unexpected value "disabled"
- locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button>
- unexpected value "disabled"
- locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button>
- unexpected value "disabled"
- locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button>
- unexpected value "disabled"
- locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button>
- unexpected value "disabled"
- locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button>
- unexpected value "disabled"
- locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button>
- unexpected value "disabled"
Call Log:
- Timeout 90000ms exceeded while waiting on the predicate
at pages/stdcm-page-model.ts:616
614 | await expect(this.mapResultContainer).toBeVisible();
615 | }
> 616 | }).toPass({
| ^
617 | timeout: EXPECT_TO_PASS_TIMEOUT,
618 | });
619 | }
at STDCMPage.launchSimulation (/app/front/tests/pages/stdcm-page-model.ts:616:8)
at /app/front/tests/006-stdcm.spec.ts:117:21
|
[webkit] › 006-stdcm.spec.ts:134:7 › Verify train schedule elements and filters › Launch simulation with and without capacity for towed rolling stock:
tests/pages/stdcm-page-model.ts#L726
2) [webkit] › 006-stdcm.spec.ts:134:7 › Verify train schedule elements and filters › 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:726
724 | const actualSimulationName =
725 | await this.getSimulationNameLocator(simulationNumber).textContent();
> 726 | expect(actualSimulationName).toEqual(expectedSimulationName);
| ^
727 |
728 | // Determine expected length and duration
729 | const expectedLengthAndDuration = isResultTableVisible
at STDCMPage.verifySimulationDetails (/app/front/tests/pages/stdcm-page-model.ts:726:34)
at /app/front/tests/006-stdcm.spec.ts:164:5
|
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 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
|
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 (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 dockerfiles
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
|
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 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
|
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] › 005-operational-studies.spec.ts#L1
[chromium] › 005-operational-studies.spec.ts took 17.9s
|
Slow Test:
[chromium] › 007-op-rollingstock-tab.spec.ts#L1
[chromium] › 007-op-rollingstock-tab.spec.ts took 16.5s
|
🎭 Playwright Run Summary
2 flaky
[webkit] › 006-stdcm.spec.ts:97:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet
[webkit] › 006-stdcm.spec.ts:134:7 › Verify train schedule elements and filters › Launch simulation with and without capacity for towed rolling stock
111 passed (12.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-container-logs
|
439 KB |
|
integration-container-logs
|
30 KB |
|
integration-videos
|
12.4 MB |
|