front: add times and stops e2e test for operational studies #12024
build.yml
on: pull_request
Matrix: build
check_generated_railjson_sync
26s
check_railjson_generator
1m 53s
check_commits
7s
Check final newline
8s
check_integration_tests
1m 25s
check_osrd_schema
38s
check_toml
8s
check_infra_schema_sync
16s
check_reuse_compliance
13s
check_front_rtk_sync
1m 49s
check_core
4m 9s
check_editoast_tests
4m 22s
check_editoast_lints
4m 53s
check_editoast_openapi
1m 19s
check_gateway
2m 6s
check_osrdyne
2m 28s
check_front
2m 52s
integration_tests
9m 24s
Annotations
4 errors, 14 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/010-op-route-tab.spec.ts#L1
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
Test timeout of 90000ms exceeded.
|
[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
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByTestId('delete-via-button') to be hidden
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- locator resolved to visible <button type="button" data-testid="delete-via-button" cl…>…</button>
- l
|
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 (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 (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 (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/
|
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_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:
[chromium] › 009-rollingstock-editor.spec.ts#L1
[chromium] › 009-rollingstock-editor.spec.ts took 37.2s
|
Slow Test:
[webkit] › 008-train-schedule.spec.ts#L1
[webkit] › 008-train-schedule.spec.ts took 29.9s
|
🎭 Playwright Run Summary
3 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
3 skipped
86 passed (6.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
integration-container-logs
Expired
|
245 KB |
|
integration-videos
Expired
|
11.8 MB |
|