front: fix scroll in help module #20302
build.yml
on: pull_request
Matrix: Build
Check dockerfiles
13s
Check scripts
6s
Check generated railjson sync
19s
Check railjson generator
33s
Check commits
11s
Check final newline
14s
Check integration tests
1m 36s
Check osrd schema
22s
Check toml
4s
Check infra schema sync
18s
Check reuse compliance
7s
Check front rtk sync
1m 7s
Check core
4m 44s
Check editoast tests
8m 1s
Check editoast lints
8m 22s
Check editoast openapi
40s
Check gateway
3m 22s
Check osrdyne
3m 44s
Check front
3m 11s
Integration tests
1m 11s
End to end tests
8m 25s
Annotations
2 errors, 2 warnings, and 1 notice
[chromium] › 006-stdcm.spec.ts:67:3 › Verify stdcm simulation page › Launch STDCM simulation with all stops:
tests/pages/stdcm-page-model.ts#L625
1) [chromium] › 006-stdcm.spec.ts:67:3 › Verify stdcm simulation page › Launch STDCM simulation with all stops
Error: Timed out 10000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('.stdcm-card:has(.stdcm-via-icons:has-text("1"))').locator('[data-testid="operational-point-ch"]')
Expected string: "BV"
Received string: ""
Call log:
- expect.toHaveValue with timeout 10000ms
- waiting for locator('.stdcm-card:has(.stdcm-via-icons:has-text("1"))').locator('[data-testid="operational-point-ch"]')
- locator resolved to <select class="osrd-ui-custom-select" data-testid="opera…></select>
- unexpected value ""
- locator resolved to <select class="osrd-ui-custom-select" data-testid="opera…></select>
- unexpected value ""
- locator resolved to <select class="osrd-ui-custom-select" data-testid="opera…></select>
- unexpected value ""
- locator resolved to <select class="osrd-ui-custom-select" data-testid="opera…></select>
- unexpected value ""
- locator resolved to <select class="osrd-ui-custom-select" data-testid="opera…></select>
- unexpected value ""
- locator resolved to <select class="osrd-ui-custom-select" data-testid="opera…></select>
- unexpected value ""
- locator resolved to <select class="osrd-ui-custom-select" data-testid="opera…></select>
- unexpected value ""
- locator resolved to <select class="osrd-ui-custom-select" data-testid="opera…></select>
- unexpected value ""
- locator resolved to <select class="osrd-ui-custom-select" data-testid="opera…></select>
- unexpected value ""
- locator resolved to <select class="osrd-ui-custom-select" data-testid="opera…></select>
- unexpected value ""
- locator resolved to <select class="osrd-ui-custom-select" data-testid="opera…></select>
- unexpected value ""
- locator resolved to <select class="osrd-ui-custom-select" data-testid="opera…></select>
- unexpected value ""
- locator resolved to <select class="osrd-ui-custom-select" data-testid="opera…></select>
- unexpected value ""
- locator resolved to <select class="osrd-ui-custom-select" data-testid="opera…></select>
- unexpected value ""
at pages/stdcm-page-model.ts:625
623 | await this.getViaCI(viaNumber).fill(ciSearchText);
624 | await selectedSuggestion.click();
> 625 | await expect(this.getViaCH(viaNumber)).toHaveValue(DEFAULT_DETAILS.chValue);
| ^
626 | await expect(this.getViaType(viaNumber)).toHaveValue(PASSAGE_TIME);
627 | };
628 |
at fillVia (/app/front/tests/pages/stdcm-page-model.ts:625:46)
at STDCMPage.fillAndVerifyViaDetails (/app/front/tests/pages/stdcm-page-model.ts:631:9)
at /app/front/tests/006-stdcm.spec.ts:83:7
|
[chromium] › 006-stdcm.spec.ts:91:3 › Verify stdcm simulation page › Launch simulation with and without capacity for towed rolling stock:
tests/pages/stdcm-page-model.ts#L666
2) [chromium] › 006-stdcm.spec.ts:91:3 › Verify stdcm simulation page › Launch simulation with and without capacity for towed rolling stock
TimeoutError: locator.waitFor: Timeout 30000ms exceeded.
Call log:
- waiting for getByTestId('simulation-status') to be visible
at pages/stdcm-page-model.ts:666
664 | await this.launchSimulationButton.click({ force: true });
665 | // Wait for simulation message "Calculation completed"
> 666 | await this.simulationStatus.waitFor({ timeout: STDCM_SIMULATION_TIMEOUT });
| ^
667 | // Check map result container visibility only for Chromium browser
668 | if (this.page.context().browser()?.browserType().name() === 'chromium') {
669 | await expect(this.mapResultContainer).toBeVisible();
at STDCMPage.launchSimulation (/app/front/tests/pages/stdcm-page-model.ts:666:33)
at /app/front/tests/006-stdcm.spec.ts:111:5
|
Slow Test:
[chromium] › 014-stdcm-linked-train.spec.ts#L1
[chromium] › 014-stdcm-linked-train.spec.ts took 36.0s
|
Slow Test:
[chromium] › 013-stdcm-simulation-sheet.spec.ts#L1
[chromium] › 013-stdcm-simulation-sheet.spec.ts took 27.6s
|
🎭 Playwright Run Summary
2 flaky
[chromium] › 006-stdcm.spec.ts:67:3 › Verify stdcm simulation page › Launch STDCM simulation with all stops
[chromium] › 006-stdcm.spec.ts:91:3 › Verify stdcm simulation page › Launch simulation with and without capacity for towed rolling stock
82 passed (6.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-container-logs
|
298 KB |
|
e2e-traces-and-videos
|
18.8 MB |
|
integration-container-logs
|
33.5 KB |
|