Skip to content

front: add route e2e test for operational studies #8043

front: add route e2e test for operational studies

front: add route e2e test for operational studies #8043

Re-run triggered July 17, 2024 14:02
Status Failure
Total duration 9m 19s
Artifacts 2

build.yml

on: pull_request
Matrix: build
check_generated_railjson_sync
30s
check_generated_railjson_sync
check_railjson_generator
1m 53s
check_railjson_generator
check_commits
7s
check_commits
Check final newline
19s
Check final newline
check_integration_tests
1m 40s
check_integration_tests
check_osrd_schema
40s
check_osrd_schema
check_toml
4s
check_toml
check_infra_schema_sync
24s
check_infra_schema_sync
check_front_rtk_sync
2m 6s
check_front_rtk_sync
check_core
4m 15s
check_core
check_editoast_tests
7m 1s
check_editoast_tests
check_editoast_lints
4m 57s
check_editoast_lints
check_editoast_openapi
1m 32s
check_editoast_openapi
check_gateway
2m 47s
check_gateway
check_front
3m 6s
check_front
integration_tests
9m 9s
integration_tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 13 warnings, and 1 notice
[firefox] › 007-operational-studies-tabs.spec.ts:150:7 › Testing if all elements in the different tabs are loaded › should correctly select a route for operational study: tests/pages/operational-studies-page-model.ts#L282
1) [firefox] › 007-operational-studies-tabs.spec.ts:150:7 › Testing if all elements in the different tabs are loaded › should correctly select a route for operational study Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('#map-container').getByText('West_station', { exact: true }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('#map-container').getByText('West_station', { exact: true }) at pages/operational-studies-page-model.ts:282 280 | async verifyMapMarkers(...markerNames: string[]) { 281 | for (const markerName of markerNames) { > 282 | await expect(this.getMapPathfindingMarker(markerName)).toBeVisible(); | ^ 283 | } 284 | } 285 | at OperationalStudiesPage.verifyMapMarkers (/app/tests/pages/operational-studies-page-model.ts:282:62) at /app/tests/007-operational-studies-tabs.spec.ts:191:34
[firefox] › 007-operational-studies-tabs.spec.ts:150:7 › Testing if all elements in the different tabs are loaded › should correctly select a route for operational study: tests/pages/operational-studies-page-model.ts#L282
1) [firefox] › 007-operational-studies-tabs.spec.ts:150:7 › Testing if all elements in the different tabs are loaded › should correctly select a route for operational study Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('#map-container').getByText('West_station', { exact: true }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('#map-container').getByText('West_station', { exact: true }) at pages/operational-studies-page-model.ts:282 280 | async verifyMapMarkers(...markerNames: string[]) { 281 | for (const markerName of markerNames) { > 282 | await expect(this.getMapPathfindingMarker(markerName)).toBeVisible(); | ^ 283 | } 284 | } 285 | at OperationalStudiesPage.verifyMapMarkers (/app/tests/pages/operational-studies-page-model.ts:282:62) at /app/tests/007-operational-studies-tabs.spec.ts:191:34
[firefox] › 007-operational-studies-tabs.spec.ts:150:7 › Testing if all elements in the different tabs are loaded › should correctly select a route for operational study: tests/pages/operational-studies-page-model.ts#L282
1) [firefox] › 007-operational-studies-tabs.spec.ts:150:7 › Testing if all elements in the different tabs are loaded › should correctly select a route for operational study Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('#map-container').getByText('West_station', { exact: true }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('#map-container').getByText('West_station', { exact: true }) at pages/operational-studies-page-model.ts:282 280 | async verifyMapMarkers(...markerNames: string[]) { 281 | for (const markerName of markerNames) { > 282 | await expect(this.getMapPathfindingMarker(markerName)).toBeVisible(); | ^ 283 | } 284 | } 285 | at OperationalStudiesPage.verifyMapMarkers (/app/tests/pages/operational-studies-page-model.ts:282:62) at /app/tests/007-operational-studies-tabs.spec.ts:191:34
[firefox] › 007-operational-studies-tabs.spec.ts:150:7 › Testing if all elements in the different tabs are loaded › should correctly select a route for operational study: tests/pages/operational-studies-page-model.ts#L282
1) [firefox] › 007-operational-studies-tabs.spec.ts:150:7 › Testing if all elements in the different tabs are loaded › should correctly select a route for operational study Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('#map-container').getByText('West_station', { exact: true }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('#map-container').getByText('West_station', { exact: true }) at pages/operational-studies-page-model.ts:282 280 | async verifyMapMarkers(...markerNames: string[]) { 281 | for (const markerName of markerNames) { > 282 | await expect(this.getMapPathfindingMarker(markerName)).toBeVisible(); | ^ 283 | } 284 | } 285 | at OperationalStudiesPage.verifyMapMarkers (/app/tests/pages/operational-studies-page-model.ts:282:62) at /app/tests/007-operational-studies-tabs.spec.ts:191:34
[firefox] › 007-operational-studies-tabs.spec.ts:195:7 › Testing if all elements in the different tabs are loaded › should correctly add waypoints in a route for operational study: tests/pages/operational-studies-page-model.ts#L282
2) [firefox] › 007-operational-studies-tabs.spec.ts:195:7 › Testing if all elements in the different tabs are loaded › should correctly add waypoints in a route for operational study Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('#map-container').getByText('West_station', { exact: true }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('#map-container').getByText('West_station', { exact: true }) at pages/operational-studies-page-model.ts:282 280 | async verifyMapMarkers(...markerNames: string[]) { 281 | for (const markerName of markerNames) { > 282 | await expect(this.getMapPathfindingMarker(markerName)).toBeVisible(); | ^ 283 | } 284 | } 285 | at OperationalStudiesPage.verifyMapMarkers (/app/tests/pages/operational-studies-page-model.ts:282:62) at /app/tests/007-operational-studies-tabs.spec.ts:240:34
[firefox] › 007-operational-studies-tabs.spec.ts:195:7 › Testing if all elements in the different tabs are loaded › should correctly add waypoints in a route for operational study: tests/pages/operational-studies-page-model.ts#L282
2) [firefox] › 007-operational-studies-tabs.spec.ts:195:7 › Testing if all elements in the different tabs are loaded › should correctly add waypoints in a route for operational study Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('#map-container').getByText('West_station', { exact: true }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('#map-container').getByText('West_station', { exact: true }) at pages/operational-studies-page-model.ts:282 280 | async verifyMapMarkers(...markerNames: string[]) { 281 | for (const markerName of markerNames) { > 282 | await expect(this.getMapPathfindingMarker(markerName)).toBeVisible(); | ^ 283 | } 284 | } 285 | at OperationalStudiesPage.verifyMapMarkers (/app/tests/pages/operational-studies-page-model.ts:282:62) at /app/tests/007-operational-studies-tabs.spec.ts:240:34
[firefox] › 007-operational-studies-tabs.spec.ts:195:7 › Testing if all elements in the different tabs are loaded › should correctly add waypoints in a route for operational study: tests/pages/operational-studies-page-model.ts#L282
2) [firefox] › 007-operational-studies-tabs.spec.ts:195:7 › Testing if all elements in the different tabs are loaded › should correctly add waypoints in a route for operational study Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('#map-container').getByText('West_station', { exact: true }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('#map-container').getByText('West_station', { exact: true }) at pages/operational-studies-page-model.ts:282 280 | async verifyMapMarkers(...markerNames: string[]) { 281 | for (const markerName of markerNames) { > 282 | await expect(this.getMapPathfindingMarker(markerName)).toBeVisible(); | ^ 283 | } 284 | } 285 | at OperationalStudiesPage.verifyMapMarkers (/app/tests/pages/operational-studies-page-model.ts:282:62) at /app/tests/007-operational-studies-tabs.spec.ts:240:34
[firefox] › 007-operational-studies-tabs.spec.ts:195:7 › Testing if all elements in the different tabs are loaded › should correctly add waypoints in a route for operational study: tests/pages/operational-studies-page-model.ts#L282
2) [firefox] › 007-operational-studies-tabs.spec.ts:195:7 › Testing if all elements in the different tabs are loaded › should correctly add waypoints in a route for operational study Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('#map-container').getByText('West_station', { exact: true }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('#map-container').getByText('West_station', { exact: true }) at pages/operational-studies-page-model.ts:282 280 | async verifyMapMarkers(...markerNames: string[]) { 281 | for (const markerName of markerNames) { > 282 | await expect(this.getMapPathfindingMarker(markerName)).toBeVisible(); | ^ 283 | } 284 | } 285 | at OperationalStudiesPage.verifyMapMarkers (/app/tests/pages/operational-studies-page-model.ts:282:62) at /app/tests/007-operational-studies-tabs.spec.ts:240:34
[firefox] › 007-operational-studies-tabs.spec.ts:243: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#L282
3) [firefox] › 007-operational-studies-tabs.spec.ts:243:7 › Testing if all elements in the different tabs are loaded › should correctly reverse and delete waypoints in a route for operational study Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('#map-container').getByText('West_station', { exact: true }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('#map-container').getByText('West_station', { exact: true }) at pages/operational-studies-page-model.ts:282 280 | async verifyMapMarkers(...markerNames: string[]) { 281 | for (const markerName of markerNames) { > 282 | await expect(this.getMapPathfindingMarker(markerName)).toBeVisible(); | ^ 283 | } 284 | } 285 | at OperationalStudiesPage.verifyMapMarkers (/app/tests/pages/operational-studies-page-model.ts:282:62) at /app/tests/007-operational-studies-tabs.spec.ts:277:34
[firefox] › 007-operational-studies-tabs.spec.ts:243: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#L282
3) [firefox] › 007-operational-studies-tabs.spec.ts:243:7 › Testing if all elements in the different tabs are loaded › should correctly reverse and delete waypoints in a route for operational study Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('#map-container').getByText('West_station', { exact: true }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('#map-container').getByText('West_station', { exact: true }) at pages/operational-studies-page-model.ts:282 280 | async verifyMapMarkers(...markerNames: string[]) { 281 | for (const markerName of markerNames) { > 282 | await expect(this.getMapPathfindingMarker(markerName)).toBeVisible(); | ^ 283 | } 284 | } 285 | at OperationalStudiesPage.verifyMapMarkers (/app/tests/pages/operational-studies-page-model.ts:282:62) at /app/tests/007-operational-studies-tabs.spec.ts:277:34
🎭 Playwright Run Summary
3 failed [firefox] › 007-operational-studies-tabs.spec.ts:150:7 › Testing if all elements in the different tabs are loaded › should correctly select a route for operational study [firefox] › 007-operational-studies-tabs.spec.ts:195:7 › Testing if all elements in the different tabs are loaded › should correctly add waypoints in a route for operational study [firefox] › 007-operational-studies-tabs.spec.ts:243:7 › Testing if all elements in the different tabs are loaded › should correctly reverse and delete waypoints in a route for operational study 2 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 ───── 53 passed (5.5m)
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 (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 (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/
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 (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_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/
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/
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 24.1s
Slow Test: [chromium] › 008-allowances.spec.ts#L1
[chromium] › 008-allowances.spec.ts took 16.6s
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
7.93 MB
integration-videos Expired
51.5 MB