front: add route e2e test for operational studies #8043
build.yml
on: pull_request
Matrix: build
check_generated_railjson_sync
30s
check_railjson_generator
1m 53s
check_commits
7s
Check final newline
19s
check_integration_tests
1m 40s
check_osrd_schema
40s
check_toml
4s
check_infra_schema_sync
24s
check_front_rtk_sync
2m 6s
check_core
4m 15s
check_editoast_tests
7m 1s
check_editoast_lints
4m 57s
check_editoast_openapi
1m 32s
check_gateway
2m 47s
check_front
3m 6s
integration_tests
9m 9s
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 |
|