Skip to content

front: make stdcm path buttons clickable across the entire element #15189

front: make stdcm path buttons clickable across the entire element

front: make stdcm path buttons clickable across the entire element #15189

Triggered via pull request November 28, 2024 14:59
Status Failure
Total duration 56m 42s
Artifacts 3

build.yml

on: pull_request
Matrix: Build
Check dockerfiles
8s
Check dockerfiles
Check scripts
6s
Check scripts
Check generated railjson sync
29s
Check generated railjson sync
Check railjson generator
1m 50s
Check railjson generator
Check commits
7s
Check commits
Check final newline
11s
Check final newline
Check integration tests
1m 28s
Check integration tests
Check osrd schema
43s
Check osrd schema
Check toml
5s
Check toml
Check infra schema sync
16s
Check infra schema sync
Check reuse compliance
12s
Check reuse compliance
Fit to window
Zoom out
Zoom in

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