Skip to content

front: add route e2e test for operational studies #8063

front: add route e2e test for operational studies

front: add route e2e test for operational studies #8063

Triggered via pull request July 17, 2024 15:13
Status Success
Total duration 17m 31s
Artifacts 2

build.yml

on: pull_request
Matrix: build
check_generated_railjson_sync
28s
check_generated_railjson_sync
check_railjson_generator
2m 1s
check_railjson_generator
check_commits
5s
check_commits
Check final newline
24s
Check final newline
check_integration_tests
1m 38s
check_integration_tests
check_osrd_schema
48s
check_osrd_schema
check_toml
10s
check_toml
check_infra_schema_sync
26s
check_infra_schema_sync
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 13 warnings, and 1 notice
[chromium] › 006-stdcm-page.spec.ts:17:7 › STDCM page › should configure and launch a stdcm: tests/006-stdcm-page.spec.ts#L1
1) [chromium] › 006-stdcm-page.spec.ts:17:7 › STDCM page › should configure and launch a stdcm ─── Test timeout of 60000ms exceeded.
[chromium] › 006-stdcm-page.spec.ts:17:7 › STDCM page › should configure and launch a stdcm: tests/006-stdcm-page.spec.ts#L46
1) [chromium] › 006-stdcm-page.spec.ts:17:7 › STDCM page › should configure and launch a stdcm ─── Error: page.waitForSelector: Test timeout of 60000ms exceeded. Call log: - waiting for locator('.chart-container') to be visible 44 | await stdcmPage.setOriginTime('081500'); 45 | await stdcmPage.clickBtnByName('Appliquer'); > 46 | await stdcmPage.page.waitForSelector('.chart-container'); | ^ 47 | }); 48 | }); 49 | at /app/tests/006-stdcm-page.spec.ts:46:26
[firefox] › 006-stdcm-page.spec.ts:17:7 › STDCM page › should configure and launch a stdcm: tests/006-stdcm-page.spec.ts#L1
2) [firefox] › 006-stdcm-page.spec.ts:17:7 › STDCM page › should configure and launch a stdcm ──── Test timeout of 60000ms exceeded.
[firefox] › 006-stdcm-page.spec.ts:17:7 › STDCM page › should configure and launch a stdcm: tests/006-stdcm-page.spec.ts#L46
2) [firefox] › 006-stdcm-page.spec.ts:17:7 › STDCM page › should configure and launch a stdcm ──── Error: page.waitForSelector: Test timeout of 60000ms exceeded. Call log: - waiting for locator('.chart-container') to be visible 44 | await stdcmPage.setOriginTime('081500'); 45 | await stdcmPage.clickBtnByName('Appliquer'); > 46 | await stdcmPage.page.waitForSelector('.chart-container'); | ^ 47 | }); 48 | }); 49 | at /app/tests/006-stdcm-page.spec.ts:46:26
[firefox] › 006-stdcm-page.spec.ts:17:7 › STDCM page › should configure and launch a stdcm: tests/006-stdcm-page.spec.ts#L1
2) [firefox] › 006-stdcm-page.spec.ts:17:7 › STDCM page › should configure and launch a stdcm ──── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
[firefox] › 006-stdcm-page.spec.ts:17:7 › STDCM page › should configure and launch a stdcm: tests/006-stdcm-page.spec.ts#L46
2) [firefox] › 006-stdcm-page.spec.ts:17:7 › STDCM page › should configure and launch a stdcm ──── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Test timeout of 60000ms exceeded. Call log: - waiting for locator('.chart-container') to be visible 44 | await stdcmPage.setOriginTime('081500'); 45 | await stdcmPage.clickBtnByName('Appliquer'); > 46 | await stdcmPage.page.waitForSelector('.chart-container'); | ^ 47 | }); 48 | }); 49 | at /app/tests/006-stdcm-page.spec.ts:46:26
[firefox] › 007-operational-studies-tabs.spec.ts:268:7 › Testing if all elements in the different tabs are loaded › should correctly reverse and delete waypoints in a route for operational study: tests/007-operational-studies-tabs.spec.ts#L1
3) [firefox] › 007-operational-studies-tabs.spec.ts:268:7 › Testing if all elements in the different tabs are loaded › should correctly reverse and delete waypoints in a route for operational study Test timeout of 60000ms exceeded.
[firefox] › 007-operational-studies-tabs.spec.ts:268:7 › Testing if all elements in the different tabs are loaded › should correctly reverse and delete waypoints in a route for operational study: tests/pages/operational-studies-page-model.ts#L177
3) [firefox] › 007-operational-studies-tabs.spec.ts:268:7 › Testing if all elements in the different tabs are loaded › should correctly reverse and delete waypoints in a route for operational study Error: locator.innerText: Test timeout of 60000ms exceeded. Call log: - waiting for getByTestId('no-origin-chosen-text') at pages/operational-studies-page-model.ts:177 175 | 176 | async verifyNoSelectedRoute(selectedLanguage: string) { > 177 | const noOriginChosenText = await this.noOriginChosen.innerText(); | ^ 178 | const noDestinationChosenText = await this.noDestinationChosen.innerText(); 179 | const searchByTrigramInputVisibilty = await this.searchByTrigramInput.isVisible(); 180 | let pathfindingNoStateText = ''; at OperationalStudiesPage.verifyNoSelectedRoute (/app/tests/pages/operational-studies-page-model.ts:177:58) at /app/tests/007-operational-studies-tabs.spec.ts:327:34
🎭 Playwright Run Summary
3 flaky [chromium] › 006-stdcm-page.spec.ts:17:7 › STDCM page › should configure and launch a stdcm ──── [firefox] › 006-stdcm-page.spec.ts:17:7 › STDCM page › should configure and launch a stdcm ───── [firefox] › 007-operational-studies-tabs.spec.ts:268:7 › Testing if all elements in the different tabs are loaded › should correctly reverse and delete waypoints in a route for operational study 55 passed (4.4m)
build (core-build, core)
The following actions uses Node.js version which is deprecated 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 uses Node.js version which is deprecated 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)
The following actions uses Node.js version which is deprecated 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 uses Node.js version which is deprecated 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 uses Node.js version which is deprecated 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 uses Node.js version which is deprecated 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 uses Node.js version which is deprecated 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 uses Node.js version which is deprecated 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 uses Node.js version which is deprecated 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 uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3, actions/upload-artifact@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] › 007-operational-studies-tabs.spec.ts#L1
[chromium] › 007-operational-studies-tabs.spec.ts took 28.3s
Slow Test: [chromium] › 008-allowances.spec.ts#L1
[chromium] › 008-allowances.spec.ts took 16.7s
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "integration-container-logs", "integration-videos". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
integration-container-logs Expired
6.34 MB
integration-videos Expired
28 MB