front: make stdcm path buttons clickable across the entire element #15189
build.yml
on: pull_request
Matrix: Build
Check dockerfiles
8s
Check scripts
6s
Check generated railjson sync
29s
Check railjson generator
1m 50s
Check commits
7s
Check final newline
11s
Check integration tests
1m 28s
Check osrd schema
43s
Check toml
5s
Check infra schema sync
16s
Check reuse compliance
12s
Check front rtk sync
1m 45s
Check core
4m 6s
Check editoast tests
6m 54s
Check editoast lints
8m 40s
Check editoast openapi
1m 0s
Check gateway
3m 26s
Check osrdyne
3m 49s
Check front
2m 43s
Integration tests
1m 7s
End to end tests
53m 35s
Annotations
10 errors, 4 warnings, and 1 notice
[chromium] › 006-stdcm.spec.ts:37:7 › Verify train schedule elements and filters › Verify empty STDCM page:
tests/pages/stdcm-page-model.ts#L246
1) [chromium] › 006-stdcm.spec.ts:37:7 › Verify train schedule elements and filters › Verify empty STDCM page
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: locator('.stdcm-card.has-tip .stdcm-card__body.add-via button')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for locator('.stdcm-card.has-tip .stdcm-card__body.add-via button')
at pages/stdcm-page-model.ts:246
244 | ];
245 | for (const element of elements) {
> 246 | await expect(element).toBeVisible();
| ^
247 | }
248 | }
249 |
at STDCMPage.verifyStdcmElementsVisibility (/app/front/tests/pages/stdcm-page-model.ts:246:29)
at /app/front/tests/006-stdcm.spec.ts:40:5
|
[chromium] › 006-stdcm.spec.ts:37:7 › Verify train schedule elements and filters › Verify empty STDCM page:
tests/pages/stdcm-page-model.ts#L246
1) [chromium] › 006-stdcm.spec.ts:37:7 › Verify train schedule elements and filters › Verify empty STDCM page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: locator('.stdcm-card.has-tip .stdcm-card__body.add-via button')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for locator('.stdcm-card.has-tip .stdcm-card__body.add-via button')
at pages/stdcm-page-model.ts:246
244 | ];
245 | for (const element of elements) {
> 246 | await expect(element).toBeVisible();
| ^
247 | }
248 | }
249 |
at STDCMPage.verifyStdcmElementsVisibility (/app/front/tests/pages/stdcm-page-model.ts:246:29)
at /app/front/tests/006-stdcm.spec.ts:40:5
|
[chromium] › 006-stdcm.spec.ts:37:7 › Verify train schedule elements and filters › Verify empty STDCM page:
tests/pages/stdcm-page-model.ts#L246
1) [chromium] › 006-stdcm.spec.ts:37:7 › Verify train schedule elements and filters › Verify empty STDCM page
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: locator('.stdcm-card.has-tip .stdcm-card__body.add-via button')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for locator('.stdcm-card.has-tip .stdcm-card__body.add-via button')
at pages/stdcm-page-model.ts:246
244 | ];
245 | for (const element of elements) {
> 246 | await expect(element).toBeVisible();
| ^
247 | }
248 | }
249 |
at STDCMPage.verifyStdcmElementsVisibility (/app/front/tests/pages/stdcm-page-model.ts:246:29)
at /app/front/tests/006-stdcm.spec.ts:40:5
|
[chromium] › 006-stdcm.spec.ts:46:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops:
tests/006-stdcm.spec.ts#L1
2) [chromium] › 006-stdcm.spec.ts:46:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops
Test timeout of 270000ms exceeded.
|
[chromium] › 006-stdcm.spec.ts:46:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops:
tests/006-stdcm.spec.ts#L1
2) [chromium] › 006-stdcm.spec.ts:46:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 270000ms exceeded.
|
[chromium] › 006-stdcm.spec.ts:46:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops:
tests/pages/stdcm-page-model.ts#L390
2) [chromium] › 006-stdcm.spec.ts:46:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 270000ms exceeded.
Call log:
- waiting for locator('.stdcm-card.has-tip .stdcm-card__body.add-via button').first()
at pages/stdcm-page-model.ts:390
388 | // Helper function to fill common fields
389 | const fillVia = async (selectedSuggestion: Locator) => {
> 390 | await this.addViaButton.nth(viaNumber - 1).click();
| ^
391 | expect(await this.addViaButton.count()).toBe(viaNumber + 1);
392 | await this.getViaCi(viaNumber).fill(viaSearch);
393 | await selectedSuggestion.click();
at fillVia (/app/front/tests/pages/stdcm-page-model.ts:390:50)
at STDCMPage.fillAndVerifyViaDetails (/app/front/tests/pages/stdcm-page-model.ts:400:15)
at /app/front/tests/006-stdcm.spec.ts:59:23
|
[chromium] › 006-stdcm.spec.ts:46:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops:
tests/006-stdcm.spec.ts#L1
2) [chromium] › 006-stdcm.spec.ts:46:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 270000ms exceeded.
|
[chromium] › 006-stdcm.spec.ts:68:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet:
tests/006-stdcm.spec.ts#L1
3) [chromium] › 006-stdcm.spec.ts:68:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet
Test timeout of 270000ms exceeded.
|
[chromium] › 006-stdcm.spec.ts:68:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet:
tests/006-stdcm.spec.ts#L1
3) [chromium] › 006-stdcm.spec.ts:68:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 270000ms exceeded.
|
[chromium] › 006-stdcm.spec.ts:68:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet:
tests/pages/stdcm-page-model.ts#L390
3) [chromium] › 006-stdcm.spec.ts:68:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 270000ms exceeded.
Call log:
- waiting for locator('.stdcm-card.has-tip .stdcm-card__body.add-via button').first()
at pages/stdcm-page-model.ts:390
388 | // Helper function to fill common fields
389 | const fillVia = async (selectedSuggestion: Locator) => {
> 390 | await this.addViaButton.nth(viaNumber - 1).click();
| ^
391 | expect(await this.addViaButton.count()).toBe(viaNumber + 1);
392 | await this.getViaCi(viaNumber).fill(viaSearch);
393 | await selectedSuggestion.click();
at fillVia (/app/front/tests/pages/stdcm-page-model.ts:390:50)
at STDCMPage.fillAndVerifyViaDetails (/app/front/tests/pages/stdcm-page-model.ts:400:15)
at /app/front/tests/006-stdcm.spec.ts:74:21
|
Slow Test:
[chromium] › 009-rollingstock-editor.spec.ts#L1
[chromium] › 009-rollingstock-editor.spec.ts took 30.1s
|
Slow Test:
[webkit] › 003-study-management.spec.ts#L1
[webkit] › 003-study-management.spec.ts took 19.4s
|
Slow Test:
[chromium] › 005-operational-studies.spec.ts#L1
[chromium] › 005-operational-studies.spec.ts took 19.0s
|
Slow Test:
[firefox] › 003-study-management.spec.ts#L1
[firefox] › 003-study-management.spec.ts took 15.5s
|
🎭 Playwright Run Summary
9 failed
[chromium] › 006-stdcm.spec.ts:37:7 › Verify train schedule elements and filters › Verify empty STDCM page
[chromium] › 006-stdcm.spec.ts:46:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops
[chromium] › 006-stdcm.spec.ts:68:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet
[firefox] › 006-stdcm.spec.ts:37:7 › Verify train schedule elements and filters › Verify empty STDCM page
[firefox] › 006-stdcm.spec.ts:46:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops
[firefox] › 006-stdcm.spec.ts:68:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet
[webkit] › 006-stdcm.spec.ts:37:7 › Verify train schedule elements and filters › Verify empty STDCM page
[webkit] › 006-stdcm.spec.ts:46:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops
[webkit] › 006-stdcm.spec.ts:68:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet
1 flaky
[webkit] › 012-op-simulation-settings-tab.spec.ts:130:7 › Simulation Settings Tab Verification › Activate electrical profiles
100 passed (51.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-container-logs
|
429 KB |
|
integration-container-logs
|
24.4 KB |
|
integration-videos
|
143 MB |
|