front: fix train selection in the anterior or posterior train list #16825
build.yml
on: pull_request
Matrix: Build
Check dockerfiles
14s
Check scripts
5s
Check generated railjson sync
22s
Check railjson generator
1m 44s
Check commits
10s
Check final newline
30s
Check integration tests
1m 33s
Check osrd schema
38s
Check toml
8s
Check infra schema sync
13s
Check reuse compliance
9s
Check front rtk sync
1m 12s
Check core
4m 5s
Check editoast tests
6m 45s
Check editoast lints
8m 25s
Check editoast openapi
43s
Check gateway
3m 28s
Check osrdyne
3m 40s
Check front
3m 7s
Integration tests
1m 10s
End to end tests
14m 46s
Annotations
2 errors, 31 warnings, and 1 notice
[chromium] › 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) [chromium] › 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:97:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet:
tests/pages/stdcm-page-model.ts#L685
2) [webkit] › 006-stdcm.spec.ts:97:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet
Error: Timeout 90000ms exceeded while waiting on the predicate
at pages/stdcm-page-model.ts:685
683 | await download.saveAs(downloadPath);
684 | logger.info(`The PDF was successfully downloaded to: ${downloadPath}`);
> 685 | }).toPass({
| ^
686 | timeout: EXPECT_TO_PASS_TIMEOUT,
687 | });
688 | }
at STDCMPage.downloadSimulation (/app/front/tests/pages/stdcm-page-model.ts:685:8)
at /app/front/tests/006-stdcm.spec.ts:126: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 reuse compliance
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
|
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 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 (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 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 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 (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:
[firefox] › 009-rollingstock-editor.spec.ts#L1
[firefox] › 009-rollingstock-editor.spec.ts took 35.4s
|
Slow Test:
[firefox] › 008-train-schedule.spec.ts#L1
[firefox] › 008-train-schedule.spec.ts took 22.5s
|
Slow Test:
[chromium] › 005-operational-studies.spec.ts#L1
[chromium] › 005-operational-studies.spec.ts took 18.1s
|
Slow Test:
[firefox] › 010-op-route-tab.spec.ts#L1
[firefox] › 010-op-route-tab.spec.ts took 18.1s
|
Slow Test:
[chromium] › 007-op-rollingstock-tab.spec.ts#L1
[chromium] › 007-op-rollingstock-tab.spec.ts took 16.6s
|
🎭 Playwright Run Summary
2 flaky
[chromium] › 006-stdcm.spec.ts:97:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet
[webkit] › 006-stdcm.spec.ts:97:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet
111 passed (13.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-container-logs
|
447 KB |
|
integration-container-logs
|
29.7 KB |
|
integration-videos
|
12.8 MB |
|