front: transform some RTK mutations into queries to prevent useless requests #15182
build.yml
on: pull_request
Matrix: Build
Check dockerfiles
13s
Check scripts
3s
Check generated railjson sync
22s
Check railjson generator
1m 48s
Check commits
7s
Check final newline
10s
Check integration tests
1m 26s
Check osrd schema
40s
Check toml
5s
Check infra schema sync
16s
Check reuse compliance
12s
Check front rtk sync
1m 45s
Check core
4m 5s
Check editoast tests
6m 31s
Check editoast lints
9m 16s
Check editoast openapi
1m 14s
Check gateway
3m 25s
Check osrdyne
3m 48s
Check front
2m 32s
Integration tests
1m 14s
End to end tests
12m 18s
Annotations
1 error, 2 warnings, and 1 notice
[chromium] › 012-op-simulation-settings-tab.spec.ts:184:7 › Simulation Settings Tab Verification › Activate composition code:
tests/pages/op-timetable-page-model.ts#L232
1) [chromium] › 012-op-simulation-settings-tab.spec.ts:184:7 › Simulation Settings Tab Verification › Activate composition code
Error: expect(received).toEqual(expected) // deep equality
Expected: "11:52"
Received: "12:03"
at pages/op-timetable-page-model.ts:232
230 | await expect(this.trainArrivalTime).toBeVisible();
231 | const actualArrivalTime = await this.trainArrivalTime.textContent();
> 232 | expect(actualArrivalTime).toEqual(expectedArrivalTime);
| ^
233 | }
234 |
235 | async clickOnScenarioCollapseButton() {
at OperationalStudiesTimetablePage.getTrainArrivalTime (/app/front/tests/pages/op-timetable-page-model.ts:232:31)
at /app/front/tests/012-op-simulation-settings-tab.spec.ts:233:5
|
Slow Test:
[chromium] › 005-operational-studies.spec.ts#L1
[chromium] › 005-operational-studies.spec.ts took 17.6s
|
Slow Test:
[firefox] › 003-study-management.spec.ts#L1
[firefox] › 003-study-management.spec.ts took 15.8s
|
🎭 Playwright Run Summary
1 flaky
[chromium] › 012-op-simulation-settings-tab.spec.ts:184:7 › Simulation Settings Tab Verification › Activate composition code
109 passed (10.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-container-logs
|
376 KB |
|
integration-container-logs
|
24.9 KB |
|
integration-videos
|
9.88 MB |
|