Skip to content

lmr: add mandatory fields and error messages to the form #17031

lmr: add mandatory fields and error messages to the form

lmr: add mandatory fields and error messages to the form #17031

Triggered via pull request January 7, 2025 15:16
Status Success
Total duration 17m 47s
Artifacts 3

build.yml

on: pull_request
Matrix: Build
Check dockerfiles
13s
Check dockerfiles
Check scripts
4s
Check scripts
Check generated railjson sync
20s
Check generated railjson sync
Check railjson generator
1m 54s
Check railjson generator
Check commits
9s
Check commits
Check final newline
11s
Check final newline
Check integration tests
1m 29s
Check integration tests
Check osrd schema
50s
Check osrd schema
Check toml
9s
Check toml
Check infra schema sync
19s
Check infra schema sync
Check reuse compliance
12s
Check reuse compliance
Fit to window
Zoom out
Zoom in

Annotations

3 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#L621
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:621 619 | await expect(this.mapResultContainer).toBeVisible(); 620 | } > 621 | }).toPass({ | ^ 622 | timeout: EXPECT_TO_PASS_TIMEOUT, 623 | }); 624 | } at STDCMPage.launchSimulation (/app/front/tests/pages/stdcm-page-model.ts:621:8) at /app/front/tests/006-stdcm.spec.ts:117:21
[webkit] › 006-stdcm.spec.ts:70:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops: tests/pages/stdcm-page-model.ts#L372
2) [webkit] › 006-stdcm.spec.ts:70:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops Error: Timed out 10000ms waiting for expect(locator).toHaveValue(expected) Locator: locator('#tractionEngine') Expected string: "electric_rolling_stock_test_e2e" Received string: "ELECTRIC_ROLLING_STOCK_TEST_E2E" Call log: - expect.toHaveValue with timeout 10000ms - waiting for locator('#tractionEngine') - locator resolved to <input autocomplete="off" id="tractionEngine" class="in…/> - unexpected value "ELECTRIC_ROLLING_STOCK_TEST_E2E" - locator resolved to <input autocomplete="off" id="tractionEngine" class="in…/> - unexpected value "ELECTRIC_ROLLING_STOCK_TEST_E2E" - locator resolved to <input autocomplete="off" id="tractionEngine" class="in…/> - unexpected value "ELECTRIC_ROLLING_STOCK_TEST_E2E" - locator resolved to <input autocomplete="off" id="tractionEngine" class="in…/> - unexpected value "ELECTRIC_ROLLING_STOCK_TEST_E2E" - locator resolved to <input autocomplete="off" id="tractionEngine" class="in…/> - unexpected value "ELECTRIC_ROLLING_STOCK_TEST_E2E" - locator resolved to <input autocomplete="off" id="tractionEngine" class="in…/> - unexpected value "ELECTRIC_ROLLING_STOCK_TEST_E2E" - locator resolved to <input autocomplete="off" id="tractionEngine" class="in…/> - unexpected value "ELECTRIC_ROLLING_STOCK_TEST_E2E" - locator resolved to <input autocomplete="off" id="tractionEngine" class="in…/> - unexpected value "ELECTRIC_ROLLING_STOCK_TEST_E2E" - locator resolved to <input autocomplete="off" id="tractionEngine" class="in…/> - unexpected value "ELECTRIC_ROLLING_STOCK_TEST_E2E" - locator resolved to <input autocomplete="off" id="tractionEngine" class="in…/> - unexpected value "ELECTRIC_ROLLING_STOCK_TEST_E2E" - locator resolved to <input autocomplete="off" id="tractionEngine" class="in…/> - unexpected value "ELECTRIC_ROLLING_STOCK_TEST_E2E" - locator resolved to <input autocomplete="off" id="tractionEngine" class="in…/> - unexpected value "ELECTRIC_ROLLING_STOCK_TEST_E2E" - locator resolved to <input autocomplete="off" id="tractionEngine" class="in…/> - unexpected value "ELECTRIC_ROLLING_STOCK_TEST_E2E" - locator resolved to <input autocomplete="off" id="tractionEngine" class="in…/> - unexpected value "ELECTRIC_ROLLING_STOCK_TEST_E2E" at pages/stdcm-page-model.ts:372 370 | await dropdownField.press('Enter'); 371 | await dropdownField.dispatchEvent('blur'); > 372 | await expect(dropdownField).toHaveValue(selectedValue); | ^ 373 | 374 | const { expectedTonnage, expectedLength, expectedMaxSpeed } = expectedValues; 375 | await expect(this.tonnageField).toHaveValue(expectedTonnage); at handleAndVerifyDropdown (/app/front/tests/pages/stdcm-page-model.ts:372:35) at STDCMPage.fillAndVerifyConsistDetails (/app/front/tests/pages/stdcm-page-model.ts:404:5) at /app/front/tests/006-stdcm.spec.ts:74:5
[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#L690
3) [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:690 688 | await download.saveAs(downloadPath); 689 | logger.info(`The PDF was successfully downloaded to: ${downloadPath}`); > 690 | }).toPass({ | ^ 691 | timeout: EXPECT_TO_PASS_TIMEOUT, 692 | }); 693 | } at STDCMPage.downloadSimulation (/app/front/tests/pages/stdcm-page-model.ts:690: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 commits
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 dockerfiles
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
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 (editoast, editoast-test)
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
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 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
Check final newline
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 36.8s
Slow Test: [firefox] › 008-train-schedule.spec.ts#L1
[firefox] › 008-train-schedule.spec.ts took 24.5s
Slow Test: [firefox] › 010-op-route-tab.spec.ts#L1
[firefox] › 010-op-route-tab.spec.ts took 19.6s
Slow Test: [chromium] › 005-operational-studies.spec.ts#L1
[chromium] › 005-operational-studies.spec.ts took 19.1s
Slow Test: [chromium] › 007-op-rollingstock-tab.spec.ts#L1
[chromium] › 007-op-rollingstock-tab.spec.ts took 16.6s
🎭 Playwright Run Summary
3 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:70:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops [webkit] › 006-stdcm.spec.ts:97:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet 110 passed (13.4m)

Artifacts

Produced during runtime
Name Size
e2e-container-logs Expired
445 KB
integration-container-logs Expired
30 KB
integration-videos Expired
21.7 MB