front: redesign of the list of trains on the results page #10928
build.yml
on: pull_request
Matrix: build
check_generated_railjson_sync
20s
check_railjson_generator
1m 47s
check_commits
6s
Check final newline
8s
check_integration_tests
1m 20s
check_osrd_schema
41s
check_toml
6s
check_infra_schema_sync
17s
check_reuse_compliance
11s
check_front_rtk_sync
1m 34s
check_core
3m 55s
check_editoast_tests
4m 19s
check_editoast_lints
5m 1s
check_editoast_openapi
1m 7s
check_gateway
2m 12s
check_osrdyne
2m 36s
check_front
1m 17s
integration_tests
10m 32s
Annotations
11 errors, 13 warnings, and 1 notice
check_front
Process completed with exit code 1.
|
[chromium] › 008-train-schedule.spec.ts:39:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately load the trains with their corresponding simulation results:
tests/pages/op-timetable-page-model.ts#L142
1) [chromium] › 008-train-schedule.spec.ts:39:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately load the trains with their corresponding simulation results
Error: expect(received).toEqual(expected) // deep equality
Expected: "20/20 trains"
Received: "20 trains"
at pages/op-timetable-page-model.ts:142
140 | await this.page.waitForLoadState('networkidle');
141 | const trainCountText = await this.trainCountText.innerText();
> 142 | expect(trainCountText).toEqual(`${trainCount}/${totalTrainCount} trains`);
| ^
143 | }
144 |
145 | // Filter trains validity and verify their count
at OperationalStudiesTimetablePage.verifyTrainCount (/app/tests/pages/op-timetable-page-model.ts:142:28)
at /app/tests/008-train-schedule.spec.ts:50:5
|
[chromium] › 008-train-schedule.spec.ts:39:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately load the trains with their corresponding simulation results:
tests/pages/op-timetable-page-model.ts#L142
1) [chromium] › 008-train-schedule.spec.ts:39:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately load the trains with their corresponding simulation results
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "20/20 trains"
Received: "20 trains"
at pages/op-timetable-page-model.ts:142
140 | await this.page.waitForLoadState('networkidle');
141 | const trainCountText = await this.trainCountText.innerText();
> 142 | expect(trainCountText).toEqual(`${trainCount}/${totalTrainCount} trains`);
| ^
143 | }
144 |
145 | // Filter trains validity and verify their count
at OperationalStudiesTimetablePage.verifyTrainCount (/app/tests/pages/op-timetable-page-model.ts:142:28)
at /app/tests/008-train-schedule.spec.ts:50:5
|
[chromium] › 008-train-schedule.spec.ts:39:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately load the trains with their corresponding simulation results:
tests/pages/op-timetable-page-model.ts#L142
1) [chromium] › 008-train-schedule.spec.ts:39:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately load the trains with their corresponding simulation results
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "20/20 trains"
Received: "20 trains"
at pages/op-timetable-page-model.ts:142
140 | await this.page.waitForLoadState('networkidle');
141 | const trainCountText = await this.trainCountText.innerText();
> 142 | expect(trainCountText).toEqual(`${trainCount}/${totalTrainCount} trains`);
| ^
143 | }
144 |
145 | // Filter trains validity and verify their count
at OperationalStudiesTimetablePage.verifyTrainCount (/app/tests/pages/op-timetable-page-model.ts:142:28)
at /app/tests/008-train-schedule.spec.ts:50:5
|
[chromium] › 008-train-schedule.spec.ts:39:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately load the trains with their corresponding simulation results:
tests/pages/op-timetable-page-model.ts#L142
1) [chromium] › 008-train-schedule.spec.ts:39:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately load the trains with their corresponding simulation results
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "20/20 trains"
Received: "20 trains"
at pages/op-timetable-page-model.ts:142
140 | await this.page.waitForLoadState('networkidle');
141 | const trainCountText = await this.trainCountText.innerText();
> 142 | expect(trainCountText).toEqual(`${trainCount}/${totalTrainCount} trains`);
| ^
143 | }
144 |
145 | // Filter trains validity and verify their count
at OperationalStudiesTimetablePage.verifyTrainCount (/app/tests/pages/op-timetable-page-model.ts:142:28)
at /app/tests/008-train-schedule.spec.ts:50:5
|
[chromium] › 008-train-schedule.spec.ts:57:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately filter the imported trains:
tests/pages/op-timetable-page-model.ts#L142
2) [chromium] › 008-train-schedule.spec.ts:57:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately filter the imported trains
Error: expect(received).toEqual(expected) // deep equality
Expected: "20/20 trains"
Received: "20 trains"
at pages/op-timetable-page-model.ts:142
140 | await this.page.waitForLoadState('networkidle');
141 | const trainCountText = await this.trainCountText.innerText();
> 142 | expect(trainCountText).toEqual(`${trainCount}/${totalTrainCount} trains`);
| ^
143 | }
144 |
145 | // Filter trains validity and verify their count
at OperationalStudiesTimetablePage.verifyTrainCount (/app/tests/pages/op-timetable-page-model.ts:142:28)
at /app/tests/008-train-schedule.spec.ts:66:5
|
[chromium] › 008-train-schedule.spec.ts:57:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately filter the imported trains:
tests/pages/op-timetable-page-model.ts#L142
2) [chromium] › 008-train-schedule.spec.ts:57:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately filter the imported trains
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "20/20 trains"
Received: "20 trains"
at pages/op-timetable-page-model.ts:142
140 | await this.page.waitForLoadState('networkidle');
141 | const trainCountText = await this.trainCountText.innerText();
> 142 | expect(trainCountText).toEqual(`${trainCount}/${totalTrainCount} trains`);
| ^
143 | }
144 |
145 | // Filter trains validity and verify their count
at OperationalStudiesTimetablePage.verifyTrainCount (/app/tests/pages/op-timetable-page-model.ts:142:28)
at /app/tests/008-train-schedule.spec.ts:66:5
|
[chromium] › 008-train-schedule.spec.ts:57:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately filter the imported trains:
tests/pages/op-timetable-page-model.ts#L142
2) [chromium] › 008-train-schedule.spec.ts:57:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately filter the imported trains
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "20/20 trains"
Received: "20 trains"
at pages/op-timetable-page-model.ts:142
140 | await this.page.waitForLoadState('networkidle');
141 | const trainCountText = await this.trainCountText.innerText();
> 142 | expect(trainCountText).toEqual(`${trainCount}/${totalTrainCount} trains`);
| ^
143 | }
144 |
145 | // Filter trains validity and verify their count
at OperationalStudiesTimetablePage.verifyTrainCount (/app/tests/pages/op-timetable-page-model.ts:142:28)
at /app/tests/008-train-schedule.spec.ts:66:5
|
[chromium] › 008-train-schedule.spec.ts:57:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately filter the imported trains:
tests/pages/op-timetable-page-model.ts#L142
2) [chromium] › 008-train-schedule.spec.ts:57:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately filter the imported trains
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "20/20 trains"
Received: "20 trains"
at pages/op-timetable-page-model.ts:142
140 | await this.page.waitForLoadState('networkidle');
141 | const trainCountText = await this.trainCountText.innerText();
> 142 | expect(trainCountText).toEqual(`${trainCount}/${totalTrainCount} trains`);
| ^
143 | }
144 |
145 | // Filter trains validity and verify their count
at OperationalStudiesTimetablePage.verifyTrainCount (/app/tests/pages/op-timetable-page-model.ts:142:28)
at /app/tests/008-train-schedule.spec.ts:66:5
|
[firefox] › 008-train-schedule.spec.ts:39:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately load the trains with their corresponding simulation results:
tests/pages/op-timetable-page-model.ts#L142
3) [firefox] › 008-train-schedule.spec.ts:39:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately load the trains with their corresponding simulation results
Error: expect(received).toEqual(expected) // deep equality
Expected: "20/20 trains"
Received: "20 trains"
at pages/op-timetable-page-model.ts:142
140 | await this.page.waitForLoadState('networkidle');
141 | const trainCountText = await this.trainCountText.innerText();
> 142 | expect(trainCountText).toEqual(`${trainCount}/${totalTrainCount} trains`);
| ^
143 | }
144 |
145 | // Filter trains validity and verify their count
at OperationalStudiesTimetablePage.verifyTrainCount (/app/tests/pages/op-timetable-page-model.ts:142:28)
at /app/tests/008-train-schedule.spec.ts:50:5
|
[firefox] › 008-train-schedule.spec.ts:39:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately load the trains with their corresponding simulation results:
tests/pages/op-timetable-page-model.ts#L142
3) [firefox] › 008-train-schedule.spec.ts:39:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately load the trains with their corresponding simulation results
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "20/20 trains"
Received: "20 trains"
at pages/op-timetable-page-model.ts:142
140 | await this.page.waitForLoadState('networkidle');
141 | const trainCountText = await this.trainCountText.innerText();
> 142 | expect(trainCountText).toEqual(`${trainCount}/${totalTrainCount} trains`);
| ^
143 | }
144 |
145 | // Filter trains validity and verify their count
at OperationalStudiesTimetablePage.verifyTrainCount (/app/tests/pages/op-timetable-page-model.ts:142:28)
at /app/tests/008-train-schedule.spec.ts:50:5
|
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_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:
[webkit] › 006-stdcm-page.spec.ts#L1
[webkit] › 006-stdcm-page.spec.ts took 18.1s
|
Slow Test:
[webkit] › 004-scenario-management.spec.ts#L1
[webkit] › 004-scenario-management.spec.ts took 16.8s
|
🎭 Playwright Run Summary
6 failed
[chromium] › 008-train-schedule.spec.ts:39:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately load the trains with their corresponding simulation results
[chromium] › 008-train-schedule.spec.ts:57:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately filter the imported trains
[firefox] › 008-train-schedule.spec.ts:39:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately load the trains with their corresponding simulation results
[firefox] › 008-train-schedule.spec.ts:57:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately filter the imported trains
[webkit] › 008-train-schedule.spec.ts:39:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately load the trains with their corresponding simulation results
[webkit] › 008-train-schedule.spec.ts:57:7 › Verifying that all elements in the train schedule are loaded correctly › should accurately filter the imported trains
3 flaky
[chromium] › 003-study-management.spec.ts:29:7 › Test if operationnal study: study creation workflow is working properly › Create a new study
[firefox] › 003-study-management.spec.ts:29:7 › Test if operationnal study: study creation workflow is working properly › Create a new study
[webkit] › 003-study-management.spec.ts:29:7 › Test if operationnal study: study creation workflow is working properly › Create a new study
77 passed (7.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
integration-container-logs
|
282 KB |
|
integration-videos
|
26.6 MB |
|