core: add requirement margin for stop on closed signal (conflict detection) #12726
build.yml
on: pull_request
Matrix: build
check_generated_railjson_sync
25s
check_railjson_generator
1m 44s
check_commits
9s
Check final newline
22s
check_integration_tests
1m 23s
check_osrd_schema
42s
check_toml
9s
check_infra_schema_sync
15s
check_reuse_compliance
9s
check_front_rtk_sync
1m 32s
check_core
4m 0s
check_editoast_tests
6m 29s
check_editoast_lints
9m 0s
check_editoast_openapi
58s
check_gateway
3m 17s
check_osrdyne
3m 2s
check_front
2m 21s
integration_tests
8m 38s
Annotations
9 errors, 12 warnings, and 1 notice
check_commits
Process completed with exit code 1.
|
[chromium] › 004-scenario-management.spec.ts:21:7 › Test if operationnal study : scenario creation workflow is working properly › Create a new scenario:
tests/utils/scenario.ts#L27
1) [chromium] › 004-scenario-management.spec.ts:21:7 › Test if operationnal study : scenario creation workflow is working properly › Create a new scenario
TypeError: Cannot read properties of undefined (reading 'id')
at utils/scenario.ts:27
25 | // Create a new scenario with a unique name
26 | const scenario = await postApiRequest(
> 27 | `/api/projects/${project.id}/studies/${study.id}/scenarios/`,
| ^
28 | {
29 | ...scenarioData,
30 | name: `${scenarioData.name} ${uuidv4()}`,
at setupScenario (/app/tests/utils/scenario.ts:27:50)
at /app/tests/004-scenario-management.spec.ts:17:35
|
[firefox] › 004-scenario-management.spec.ts:21:7 › Test if operationnal study : scenario creation workflow is working properly › Create a new scenario:
tests/utils/scenario.ts#L27
2) [firefox] › 004-scenario-management.spec.ts:21:7 › Test if operationnal study : scenario creation workflow is working properly › Create a new scenario
TypeError: Cannot read properties of undefined (reading 'id')
at utils/scenario.ts:27
25 | // Create a new scenario with a unique name
26 | const scenario = await postApiRequest(
> 27 | `/api/projects/${project.id}/studies/${study.id}/scenarios/`,
| ^
28 | {
29 | ...scenarioData,
30 | name: `${scenarioData.name} ${uuidv4()}`,
at setupScenario (/app/tests/utils/scenario.ts:27:50)
at /app/tests/004-scenario-management.spec.ts:17:35
|
[webkit] › 001-home-page.spec.ts:22:7 › Home page OSRD › should display links in the home page:
tests/pages/home-page-model.ts#L82
3) [webkit] › 001-home-page.spec.ts:22:7 › Home page OSRD › should display links in the home page
Error: expect(locator).toHaveText(expected)
Locator: locator('h5')
- Expected - 5
+ Received + 5
Array [
- "Études d'exploitation",
- "Sillons de dernière minute",
- "Éditeur d'infrastructure",
- "Éditeur de matériel roulant",
- "Cartographie",
+ "operationalStudies",
+ "stdcm",
+ "editor",
+ "rollingStockEditor",
+ "map",
]
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for locator('h5')
- locator resolved to 5 elements
- locator resolved to 5 elements
- locator resolved to 5 elements
at pages/home-page-model.ts:82
80 | // Assert that the expected links are displayed on the page
81 | async getDisplayLinks() {
> 82 | expect(this.getLinks).toHaveText([
| ^
83 | this.getTranslations('operationalStudies'),
84 | this.getTranslations('stdcm'),
85 | this.getTranslations('editor'),
at HomePage.getDisplayLinks (/app/tests/pages/home-page-model.ts:82:27)
at /app/tests/001-home-page.spec.ts:23:20
|
[webkit] › 004-scenario-management.spec.ts:21:7 › Test if operationnal study : scenario creation workflow is working properly › Create a new scenario:
tests/utils/scenario.ts#L27
4) [webkit] › 004-scenario-management.spec.ts:21:7 › Test if operationnal study : scenario creation workflow is working properly › Create a new scenario
TypeError: Cannot read properties of undefined (reading 'id')
at utils/scenario.ts:27
25 | // Create a new scenario with a unique name
26 | const scenario = await postApiRequest(
> 27 | `/api/projects/${project.id}/studies/${study.id}/scenarios/`,
| ^
28 | {
29 | ...scenarioData,
30 | name: `${scenarioData.name} ${uuidv4()}`,
at setupScenario (/app/tests/utils/scenario.ts:27:50)
at /app/tests/004-scenario-management.spec.ts:17:35
|
[webkit] › 004-scenario-management.spec.ts:21:7 › Test if operationnal study : scenario creation workflow is working properly › Create a new scenario:
tests/utils/scenario.ts#L27
4) [webkit] › 004-scenario-management.spec.ts:21:7 › Test if operationnal study : scenario creation workflow is working properly › Create a new scenario
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading 'id')
at utils/scenario.ts:27
25 | // Create a new scenario with a unique name
26 | const scenario = await postApiRequest(
> 27 | `/api/projects/${project.id}/studies/${study.id}/scenarios/`,
| ^
28 | {
29 | ...scenarioData,
30 | name: `${scenarioData.name} ${uuidv4()}`,
at setupScenario (/app/tests/utils/scenario.ts:27:50)
at /app/tests/004-scenario-management.spec.ts:17:35
|
[webkit] › 011-op-times-and-stops-tab.spec.ts:75:7 › Times and Stops Tab Verification › should correctly set and display times and stops tables:
tests/pages/operational-studies-page-model.ts#L400
5) [webkit] › 011-op-times-and-stops-tab.spec.ts:75:7 › Times and Stops Tab Verification › should correctly set and display times and stops tables
Error: locator.innerText: Error: strict mode violation: getByTestId('selected-rolling-stock-info') resolved to 2 elements:
1) <span class="rollingstock-info-end" data-testid="selec…>dual-mode_rollingstock_test_e2e</span> aka getByTestId('rollingstock-dual-mode_rollingstock_test_e2e').locator('div').filter({ hasText: 'dual-modedual-modedual-' }).first()
2) <span class="rollingstock-info-end" data-testid="selec…>dual-mode_rollingstock_test_e2e</span> aka getByTestId('rollingstock-selector')
Call log:
- waiting for getByTestId('selected-rolling-stock-info')
at pages/operational-studies-page-model.ts:400
398 | await electricRollingstockCard.click();
399 | await electricRollingstockCard.locator('button').click();
> 400 | expect(await rollingStockSelector.getSelectedRollingStockName.innerText()).toEqual(
| ^
401 | rollingStockName
402 | );
403 | }
at OperationalStudiesPage.selectRollingStock (/app/tests/pages/operational-studies-page-model.ts:400:67)
at /app/tests/011-op-times-and-stops-tab.spec.ts:97:5
|
[webkit] › 011-op-times-and-stops-tab.spec.ts:75:7 › Times and Stops Tab Verification › should correctly set and display times and stops tables:
tests/pages/operational-studies-page-model.ts#L400
5) [webkit] › 011-op-times-and-stops-tab.spec.ts:75:7 › Times and Stops Tab Verification › should correctly set and display times and stops tables
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.innerText: Error: strict mode violation: getByTestId('selected-rolling-stock-info') resolved to 2 elements:
1) <span class="rollingstock-info-end" data-testid="selec…>dual-mode_rollingstock_test_e2e</span> aka getByTestId('rollingstock-dual-mode_rollingstock_test_e2e').locator('div').filter({ hasText: 'dual-modedual-modedual-' }).first()
2) <span class="rollingstock-info-end" data-testid="selec…>dual-mode_rollingstock_test_e2e</span> aka getByTestId('rollingstock-selector')
Call log:
- waiting for getByTestId('selected-rolling-stock-info')
at pages/operational-studies-page-model.ts:400
398 | await electricRollingstockCard.click();
399 | await electricRollingstockCard.locator('button').click();
> 400 | expect(await rollingStockSelector.getSelectedRollingStockName.innerText()).toEqual(
| ^
401 | rollingStockName
402 | );
403 | }
at OperationalStudiesPage.selectRollingStock (/app/tests/pages/operational-studies-page-model.ts:400:67)
at /app/tests/011-op-times-and-stops-tab.spec.ts:97:5
|
[webkit] › 011-op-times-and-stops-tab.spec.ts:75:7 › Times and Stops Tab Verification › should correctly set and display times and stops tables:
tests/pages/operational-studies-page-model.ts#L400
5) [webkit] › 011-op-times-and-stops-tab.spec.ts:75:7 › Times and Stops Tab Verification › should correctly set and display times and stops tables
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.innerText: Error: strict mode violation: getByTestId('selected-rolling-stock-info') resolved to 2 elements:
1) <span class="rollingstock-info-end" data-testid="selec…>dual-mode_rollingstock_test_e2e</span> aka getByTestId('rollingstock-dual-mode_rollingstock_test_e2e').locator('div').filter({ hasText: 'dual-modedual-modedual-' }).first()
2) <span class="rollingstock-info-end" data-testid="selec…>dual-mode_rollingstock_test_e2e</span> aka getByTestId('rollingstock-selector')
Call log:
- waiting for getByTestId('selected-rolling-stock-info')
at pages/operational-studies-page-model.ts:400
398 | await electricRollingstockCard.click();
399 | await electricRollingstockCard.locator('button').click();
> 400 | expect(await rollingStockSelector.getSelectedRollingStockName.innerText()).toEqual(
| ^
401 | rollingStockName
402 | );
403 | }
at OperationalStudiesPage.selectRollingStock (/app/tests/pages/operational-studies-page-model.ts:400:67)
at /app/tests/011-op-times-and-stops-tab.spec.ts:97:5
|
build (editoast, editoast-test)
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build (front-build, front-tests, front-devel, front-nginx)
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build (osrdyne, osrdyne-test)
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build (gateway-test, gateway-standalone, gateway-front)
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
check_railjson_generator
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build (core-build, core)
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
check_front
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
check_osrdyne
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
check_gateway
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
check_core
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
check_editoast_tests
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
integration_tests
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
🎭 Playwright Run Summary
5 flaky
[chromium] › 004-scenario-management.spec.ts:21:7 › Test if operationnal study : scenario creation workflow is working properly › Create a new scenario
[firefox] › 004-scenario-management.spec.ts:21:7 › Test if operationnal study : scenario creation workflow is working properly › Create a new scenario
[webkit] › 001-home-page.spec.ts:22:7 › Home page OSRD › should display links in the home page ─
[webkit] › 004-scenario-management.spec.ts:21:7 › Test if operationnal study : scenario creation workflow is working properly › Create a new scenario
[webkit] › 011-op-times-and-stops-tab.spec.ts:75:7 › Times and Stops Tab Verification › should correctly set and display times and stops tables
3 skipped
84 passed (5.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
integration-container-logs
|
243 KB |
|
integration-videos
|
8.51 MB |
|