front: redesign of the list of trains on the results page #10872
Annotations
10 errors, 2 warnings, and 1 notice
Run Playwright tests:
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: "{{total}} 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
|
Run Playwright tests:
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: "{{total}} 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
|
Run Playwright tests:
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: "{{total}} 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
|
Run Playwright tests:
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: "{{total}} 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
|
Run Playwright tests:
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: "{{total}} 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
|
Run Playwright tests:
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: "{{total}} 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
|
Run Playwright tests:
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: "{{total}} 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
|
Run Playwright tests:
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: "{{total}} 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
|
Run Playwright tests:
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: "{{total}} 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
|
Run Playwright tests:
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: "{{total}} 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
|
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/
|
Run Playwright tests:
[webkit] › 004-scenario-management.spec.ts#L1
[webkit] › 004-scenario-management.spec.ts took 16.8s
|
Run Playwright tests
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
1 flaky
[webkit] › 003-study-management.spec.ts:29:7 › Test if operationnal study: study creation workflow is working properly › Create a new study
79 passed (6.7m)
|
Loading