front: upgrade @react-pdf/renderer to v4.2.4 #20603
build.yml
on: pull_request
Matrix: Build
Check dockerfiles
11s
Check scripts
4s
Check generated railjson sync
22s
Check railjson generator
30s
Check commits
8s
Check final newline
1m 25s
Check integration tests
1m 24s
Check osrd schema
26s
Check toml
7s
Check infra schema sync
16s
Check reuse compliance
11s
Check front rtk sync
1m 5s
Check core
4m 52s
Check editoast tests
7m 28s
Check editoast lints
7m 47s
Check editoast openapi
38s
Check gateway
3m 24s
Check osrdyne
3m 32s
Check front
3m 12s
Integration tests
1m 6s
End to end tests
6m 32s
Annotations
4 errors, 1 warning, and 1 notice
[chromium] › 013-stdcm-simulation-sheet.spec.ts:124:3 › Verify stdcm simulation page › Verify simulation sheet content:
tests/013-stdcm-simulation-sheet.spec.ts#L1
1) [chromium] › 013-stdcm-simulation-sheet.spec.ts:124:3 › Verify stdcm simulation page › Verify simulation sheet content
InvalidPDFException: Invalid PDF structure.
at BaseExceptionClosure (/app/front/node_modules/pdfjs-dist/legacy/build/webpack:/pdf.js/src/shared/util.js:478:29)
at /app/front/node_modules/pdfjs-dist/legacy/build/webpack:/pdf.js/src/shared/util.js:482:2
|
[chromium] › 013-stdcm-simulation-sheet.spec.ts:124:3 › Verify stdcm simulation page › Verify simulation sheet content:
tests/013-stdcm-simulation-sheet.spec.ts#L1
1) [chromium] › 013-stdcm-simulation-sheet.spec.ts:124:3 › Verify stdcm simulation page › Verify simulation sheet content
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
InvalidPDFException: Invalid PDF structure.
at BaseExceptionClosure (/app/front/node_modules/pdfjs-dist/legacy/build/webpack:/pdf.js/src/shared/util.js:478:29)
at /app/front/node_modules/pdfjs-dist/legacy/build/webpack:/pdf.js/src/shared/util.js:482:2
|
[chromium] › 006-stdcm.spec.ts:120:3 › Verify stdcm simulation page › Launch simulation with and without capacity for towed rolling stock:
tests/pages/stdcm/simulation-results-page.ts#L186
2) [chromium] › 006-stdcm.spec.ts:120:3 › Verify stdcm simulation page › Launch simulation with and without capacity for towed rolling stock
Error: expect(received).toEqual(expected) // deep equality
Expected: "Pas de capacité"
Received: "Simulation n°2"
at pages/stdcm/simulation-results-page.ts:186
184 | const actualSimulationName =
185 | await this.getSimulationNameLocator(simulationNumber).textContent();
> 186 | expect(actualSimulationName).toEqual(expectedSimulationName);
| ^
187 |
188 | // Determine expected length and duration
189 | const expectedLengthAndDuration = isResultTableVisible
at SimulationResultPage.verifySimulationDetails (/app/front/tests/pages/stdcm/simulation-results-page.ts:186:34)
at /app/front/tests/006-stdcm.spec.ts:147:5
|
End to end tests
Process completed with exit code 1.
|
Slow Test:
[chromium] › 014-stdcm-linked-train.spec.ts#L1
[chromium] › 014-stdcm-linked-train.spec.ts took 38.2s
|
🎭 Playwright Run Summary
1 failed
[chromium] › 013-stdcm-simulation-sheet.spec.ts:124:3 › Verify stdcm simulation page › Verify simulation sheet content
1 flaky
[chromium] › 006-stdcm.spec.ts:120:3 › Verify stdcm simulation page › Launch simulation with and without capacity for towed rolling stock
41 passed (4.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-container-logs
|
190 KB |
|
e2e-traces-and-videos
|
21.5 MB |
|
integration-container-logs
|
32.6 KB |
|