Skip to content

front: add times and stops e2e test for operational studies #11936

front: add times and stops e2e test for operational studies

front: add times and stops e2e test for operational studies #11936

Triggered via pull request October 1, 2024 10:03
Status Success
Total duration 12m 36s
Artifacts 2

build.yml

on: pull_request
Matrix: build
check_generated_railjson_sync
28s
check_generated_railjson_sync
check_railjson_generator
1m 56s
check_railjson_generator
check_commits
7s
check_commits
Check final newline
12s
Check final newline
check_integration_tests
1m 23s
check_integration_tests
check_osrd_schema
42s
check_osrd_schema
check_toml
10s
check_toml
check_infra_schema_sync
19s
check_infra_schema_sync
check_reuse_compliance
8s
check_reuse_compliance
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 13 warnings, and 1 notice
[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
[firefox] › 010-op-route-tab.spec.ts:111:7 › Verifying that all elements in the route tab are loaded correctly › should correctly reverse and delete waypoints in a route for operational study: tests/pages/operational-studies-page-model.ts#L272
3) [firefox] › 010-op-route-tab.spec.ts:111:7 › Verifying that all elements in the route tab are loaded correctly › should correctly reverse and delete waypoints in a route for operational study TimeoutError: locator.waitFor: Timeout 30000ms exceeded. Call log: - waiting for getByTestId('missing-params-info') to be visible at pages/operational-studies-page-model.ts:272 270 | '' 271 | ); > 272 | await this.missingParamMessage.waitFor({ state: 'visible', timeout: 30 * 1000 }); // Set a 30-second timeout to wait until the element becomes visible | ^ 273 | const actualMessage = await this.missingParamMessage.innerText(); 274 | expect(actualMessage).toContain(expectedMessage); 275 | } at OperationalStudiesPage.clickOnDeleteOPButtons (/app/tests/pages/operational-studies-page-model.ts:272:36) at /app/tests/010-op-route-tab.spec.ts:141:5
[webkit] › 011-op-times-and-stops-tab.spec.ts:166:7 › Times and Stops Tab Verification › should correctly update and clear input table row: tests/pages/op-input-table-page-model.ts#L79
4) [webkit] › 011-op-times-and-stops-tab.spec.ts:166:7 › Times and Stops Tab Verification › should correctly update and clear input table row Error: locator.setChecked: Clicking the checkbox did not change its state Call log: - waiting for locator('.dsg-row').filter({ has: locator('input.dsg-input[value="Mid_West_station"]') }).first().locator('.dsg-cell .dsg-checkbox') - locator resolved to <input tabindex="-1" type="checkbox" class="dsg-checkbo…/> - attempting click action - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - performing click action - click action done - waiting for scheduled navigations to finish - navigations have finished at pages/op-input-table-page-model.ts:79 77 | 78 | if (stationName === 'Mid_West_station') { > 79 | await rowLocator.locator('.dsg-cell .dsg-checkbox').setChecked(true); | ^ 80 | } 81 | } 82 | } at OperationalStudiesInputTablePage.fillTableCellByStationAndHeader (/app/tests/pages/op-input-table-page-model.ts:79:63) at /app/tests/011-op-times-and-stops-tab.spec.ts:192:7
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 (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 (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_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 (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 (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_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_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_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_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/
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/
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/
Slow Test: [chromium] › 009-rollingstock-editor.spec.ts#L1
[chromium] › 009-rollingstock-editor.spec.ts took 35.1s
🎭 Playwright Run Summary
4 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 [firefox] › 010-op-route-tab.spec.ts:111:7 › Verifying that all elements in the route tab are loaded correctly › should correctly reverse and delete waypoints in a route for operational study [webkit] › 011-op-times-and-stops-tab.spec.ts:166:7 › Times and Stops Tab Verification › should correctly update and clear input table row 3 skipped 85 passed (5.9m)

Artifacts

Produced during runtime
Name Size
integration-container-logs Expired
254 KB
integration-videos Expired
18.1 MB