Skip to content

front: upgrade @react-pdf/renderer to v4.2.4 #20603

front: upgrade @react-pdf/renderer to v4.2.4

front: upgrade @react-pdf/renderer to v4.2.4 #20603

Triggered via pull request March 4, 2025 10:41
Status Failure
Total duration 11m 0s
Artifacts 3

build.yml

on: pull_request
Matrix: Build
Check dockerfiles
11s
Check dockerfiles
Check scripts
4s
Check scripts
Check generated railjson sync
22s
Check generated railjson sync
Check railjson generator
30s
Check railjson generator
Check commits
8s
Check commits
Check final newline
1m 25s
Check final newline
Check integration tests
1m 24s
Check integration tests
Check osrd schema
26s
Check osrd schema
Check toml
7s
Check toml
Check infra schema sync
16s
Check infra schema sync
Check reuse compliance
11s
Check reuse compliance
Fit to window
Zoom out
Zoom in

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