tests: update stdcm fuzzer after api change #20839
build.yml
on: push
Matrix: Build
Check dockerfiles
9s
Check scripts
6s
Check generated railjson sync
22s
Check railjson generator
27s
Check commits
11s
Check final newline
12s
Check integration tests
1m 26s
Check osrd schema
19s
Check toml
7s
Check infra schema sync
17s
Check reuse compliance
12s
Check front rtk sync
1m 5s
Check core
4m 40s
Check editoast tests
6m 47s
Check editoast lints
7m 47s
Check editoast openapi
39s
Check gateway
3m 25s
Check osrdyne
3m 52s
Check front
3m 7s
Integration tests
17m 38s
End to end tests
8m 29s
Annotations
3 errors, 3 warnings, and 1 notice
[firefox] › 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) [firefox] › 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
|
[firefox] › 014-stdcm-linked-train.spec.ts:103:3 › Verify stdcm simulation page › Verify STDCM posterior linked train:
tests/pages/stdcm/stdcm-page.ts#L132
2) [firefox] › 014-stdcm-linked-train.spec.ts:103:3 › Verify stdcm simulation page › Verify STDCM posterior linked train
TimeoutError: locator.waitFor: Timeout 30000ms exceeded.
Call log:
- waiting for getByTestId('simulation-status') to be visible
at pages/stdcm/stdcm-page.ts:132
130 | await this.launchSimulationButton.click({ force: true });
131 | // Wait for simulation message "Calculation completed"
> 132 | await this.simulationStatus.waitFor({ timeout: STDCM_SIMULATION_TIMEOUT });
| ^
133 | }
134 |
135 | async mapMarkerVisibility() {
at STDCMPage.launchSimulation (/app/front/tests/pages/stdcm/stdcm-page.ts:132:33)
at /app/front/tests/014-stdcm-linked-train.spec.ts:117:5
|
Integration 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 33.8s
|
Slow Test:
[chromium] › 009-rolling-stock-editor.spec.ts#L1
[chromium] › 009-rolling-stock-editor.spec.ts took 33.1s
|
Slow Test:
[chromium] › 013-stdcm-simulation-sheet.spec.ts#L1
[chromium] › 013-stdcm-simulation-sheet.spec.ts took 26.9s
|
🎭 Playwright Run Summary
2 flaky
[firefox] › 013-stdcm-simulation-sheet.spec.ts:124:3 › Verify stdcm simulation page › Verify simulation sheet content
[firefox] › 014-stdcm-linked-train.spec.ts:103:3 › Verify stdcm simulation page › Verify STDCM posterior linked train
84 passed (6.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-container-logs
|
295 KB |
|
e2e-traces-and-videos
|
11.8 MB |
|
integration-container-logs
|
52.5 KB |
|