front: clean scenario page #13642
build.yml
on: pull_request
Matrix: build
check_generated_railjson_sync
20s
check_railjson_generator
1m 53s
check_commits
6s
Check final newline
7s
check_integration_tests
1m 23s
check_osrd_schema
43s
check_toml
6s
check_infra_schema_sync
19s
check_reuse_compliance
12s
check_front_rtk_sync
1m 41s
check_core
4m 2s
check_editoast_tests
7m 15s
check_editoast_lints
9m 9s
check_editoast_openapi
1m 2s
check_gateway
3m 12s
check_osrdyne
3m 52s
check_front
2m 28s
integration_tests
11m 20s
Annotations
4 errors, 14 warnings, and 1 notice
[chromium] › 004-scenario-management.spec.ts:21:7 › Test if scenario creation workflow is working properly › Create a new scenario:
tests/utils/scenario.ts#L29
1) [chromium] › 004-scenario-management.spec.ts:21:7 › Test if scenario creation workflow is working properly › Create a new scenario
TypeError: Cannot read properties of undefined (reading 'id')
at utils/scenario.ts:29
27 | // Create a new scenario with a unique name
28 | const scenario = await postApiRequest(
> 29 | `/api/projects/${project.id}/studies/${study.id}/scenarios/`,
| ^
30 | {
31 | ...scenarioData,
32 | name: `${scenarioData.name} ${uuidv4()}`,
at setupScenario (/app/tests/utils/scenario.ts:29:50)
at /app/tests/004-scenario-management.spec.ts:17:35
|
[chromium] › 012-op-simulation-settings-tab.spec.ts:193:7 › Simulation Settings Tab Verification › Activate composition code:
tests/012-op-simulation-settings-tab.spec.ts#L1
2) [chromium] › 012-op-simulation-settings-tab.spec.ts:193:7 › Simulation Settings Tab Verification › Activate composition code
Test timeout of 90000ms exceeded.
|
[chromium] › 012-op-simulation-settings-tab.spec.ts:193:7 › Simulation Settings Tab Verification › Activate composition code:
tests/pages/op-output-table-page-model.ts#L24
2) [chromium] › 012-op-simulation-settings-tab.spec.ts:193:7 › Simulation Settings Tab Verification › Activate composition code
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for locator('.time-stop-outputs .time-stops-datasheet .dsg-row').nth(1).locator('.dsg-cell.dsg-cell-disabled').nth(undefined) to be visible
at pages/op-output-table-page-model.ts:24
22 | // Retrieve the cell value based on the locator type
23 | static async getCellValue(cell: Locator, isInput: boolean = true): Promise<string> {
> 24 | await cell.waitFor({ state: 'visible' });
| ^
25 | return isInput
26 | ? (await cell.locator('input').getAttribute('value'))?.trim() || ''
27 | : (await cell.textContent())?.trim() || '';
at Function.getCellValue (/app/tests/pages/op-output-table-page-model.ts:24:16)
at OperationalStudiesOutputTablePage.getOutputTableData (/app/tests/pages/op-output-table-page-model.ts:71:49)
at /app/tests/012-op-simulation-settings-tab.spec.ts:246:5
|
[webkit] › 004-scenario-management.spec.ts:21:7 › Test if scenario creation workflow is working properly › Create a new scenario:
tests/utils/scenario.ts#L29
3) [webkit] › 004-scenario-management.spec.ts:21:7 › Test if scenario creation workflow is working properly › Create a new scenario
TypeError: Cannot read properties of undefined (reading 'id')
at utils/scenario.ts:29
27 | // Create a new scenario with a unique name
28 | const scenario = await postApiRequest(
> 29 | `/api/projects/${project.id}/studies/${study.id}/scenarios/`,
| ^
30 | {
31 | ...scenarioData,
32 | name: `${scenarioData.name} ${uuidv4()}`,
at setupScenario (/app/tests/utils/scenario.ts:29:50)
at /app/tests/004-scenario-management.spec.ts:17:35
|
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/
|
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/
|
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_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_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_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/
|
Slow Test:
[firefox] › 009-rollingstock-editor.spec.ts#L1
[firefox] › 009-rollingstock-editor.spec.ts took 47.0s
|
Slow Test:
[firefox] › 008-train-schedule.spec.ts#L1
[firefox] › 008-train-schedule.spec.ts took 18.4s
|
🎭 Playwright Run Summary
3 flaky
[chromium] › 004-scenario-management.spec.ts:21:7 › Test if scenario creation workflow is working properly › Create a new scenario
[chromium] › 012-op-simulation-settings-tab.spec.ts:193:7 › Simulation Settings Tab Verification › Activate composition code
[webkit] › 004-scenario-management.spec.ts:21:7 › Test if scenario creation workflow is working properly › Create a new scenario
7 skipped
94 passed (8.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
integration-container-logs
|
309 KB |
|
integration-videos
|
18.3 MB |
|