Skip to content

front: add stdcm simulation sheet e2e test #16981

front: add stdcm simulation sheet e2e test

front: add stdcm simulation sheet e2e test #16981

Re-run triggered January 7, 2025 11:25
Status Failure
Total duration 5m 47s
Artifacts 5

build.yml

on: pull_request
Matrix: Build
Check dockerfiles
14s
Check dockerfiles
Check scripts
4s
Check scripts
Check generated railjson sync
21s
Check generated railjson sync
Check railjson generator
1m 52s
Check railjson generator
Check commits
10s
Check commits
Check final newline
9s
Check final newline
Check integration tests
1m 21s
Check integration tests
Check osrd schema
43s
Check osrd schema
Check toml
4s
Check toml
Check infra schema sync
16s
Check infra schema sync
Check reuse compliance
8s
Check reuse compliance
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 28 warnings, and 2 notices
Check commits
Process completed with exit code 1.
[chromium] › 006-stdcm.spec.ts:97:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet: tests/utils/api-setup.ts#L67
1) [chromium] › 006-stdcm.spec.ts:97:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet Error: Failed to create towed rolling stock: 500 Internal Server Error at utils/api-setup.ts:67 65 | if (response.ok()) return; 66 | > 67 | throw new Error(`${errorMessage}: ${response.status()} ${response.statusText()}`); | ^ 68 | } 69 | 70 | /** at handleErrorResponse (/app/front/tests/utils/api-setup.ts:67:9) at postApiRequest (/app/front/tests/utils/api-setup.ts:87:3) at setTowedRollingStock (/app/front/tests/utils/api-setup.ts:301:36) at /app/front/tests/006-stdcm.spec.ts:44:32
[chromium] › 006-stdcm.spec.ts:97:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet: tests/pages/stdcm-page-model.ts#L621
1) [chromium] › 006-stdcm.spec.ts:97:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeEnabled() Locator: getByTestId('launch-simulation-button') Expected: enabled Received: disabled Call log: - expect.toBeEnabled with timeout 10000ms - waiting for getByTestId('launch-simulation-button') - locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button> - unexpected value "disabled" - locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button> - unexpected value "disabled" - locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button> - unexpected value "disabled" - locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button> - unexpected value "disabled" - locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button> - unexpected value "disabled" - locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button> - unexpected value "disabled" - locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button> - unexpected value "disabled" - locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button> - unexpected value "disabled" - locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button> - unexpected value "disabled" - locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button> - unexpected value "disabled" - locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button> - unexpected value "disabled" - locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button> - unexpected value "disabled" - locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button> - unexpected value "disabled" - locator resolved to <button disabled data-testid="launch-simulation-button" …>Obtenir la simulation</button> - unexpected value "disabled" Call Log: - Timeout 90000ms exceeded while waiting on the predicate at pages/stdcm-page-model.ts:621 619 | await expect(this.mapResultContainer).toBeVisible(); 620 | } > 621 | }).toPass({ | ^ 622 | timeout: EXPECT_TO_PASS_TIMEOUT, 623 | }); 624 | } at STDCMPage.launchSimulation (/app/front/tests/pages/stdcm-page-model.ts:621:8) at /app/front/tests/006-stdcm.spec.ts:117:21
[chromium] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content: tests/013-stdcm-simulation-sheet.spec.ts#L26
1) [chromium] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content ──────── Error: No PDF files found in directory: ./tests/stdcm-results/chromium 24 | 25 | if (!pdfFilePath) { > 26 | throw new Error(`No PDF files found in directory: ${downloadDir}`); | ^ 27 | } 28 | 29 | // Read and parse the PDF at /app/front/tests/013-stdcm-simulation-sheet.spec.ts:26:11
[chromium] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content: tests/013-stdcm-simulation-sheet.spec.ts#L26
1) [chromium] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content ──────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: No PDF files found in directory: ./tests/stdcm-results/chromium 24 | 25 | if (!pdfFilePath) { > 26 | throw new Error(`No PDF files found in directory: ${downloadDir}`); | ^ 27 | } 28 | 29 | // Read and parse the PDF at /app/front/tests/013-stdcm-simulation-sheet.spec.ts:26:11
[chromium] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content: tests/013-stdcm-simulation-sheet.spec.ts#L26
1) [chromium] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content ──────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: No PDF files found in directory: ./tests/stdcm-results/chromium 24 | 25 | if (!pdfFilePath) { > 26 | throw new Error(`No PDF files found in directory: ${downloadDir}`); | ^ 27 | } 28 | 29 | // Read and parse the PDF at /app/front/tests/013-stdcm-simulation-sheet.spec.ts:26:11
[firefox] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content: tests/013-stdcm-simulation-sheet.spec.ts#L26
2) [firefox] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content ───────── Error: No PDF files found in directory: ./tests/stdcm-results/firefox 24 | 25 | if (!pdfFilePath) { > 26 | throw new Error(`No PDF files found in directory: ${downloadDir}`); | ^ 27 | } 28 | 29 | // Read and parse the PDF at /app/front/tests/013-stdcm-simulation-sheet.spec.ts:26:11
[firefox] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content: tests/013-stdcm-simulation-sheet.spec.ts#L26
2) [firefox] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content ───────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: No PDF files found in directory: ./tests/stdcm-results/firefox 24 | 25 | if (!pdfFilePath) { > 26 | throw new Error(`No PDF files found in directory: ${downloadDir}`); | ^ 27 | } 28 | 29 | // Read and parse the PDF at /app/front/tests/013-stdcm-simulation-sheet.spec.ts:26:11
[firefox] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content: tests/013-stdcm-simulation-sheet.spec.ts#L26
2) [firefox] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content ───────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: No PDF files found in directory: ./tests/stdcm-results/firefox 24 | 25 | if (!pdfFilePath) { > 26 | throw new Error(`No PDF files found in directory: ${downloadDir}`); | ^ 27 | } 28 | 29 | // Read and parse the PDF at /app/front/tests/013-stdcm-simulation-sheet.spec.ts:26:11
[webkit] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content: tests/013-stdcm-simulation-sheet.spec.ts#L26
3) [webkit] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content ────────── Error: No PDF files found in directory: ./tests/stdcm-results/webkit 24 | 25 | if (!pdfFilePath) { > 26 | throw new Error(`No PDF files found in directory: ${downloadDir}`); | ^ 27 | } 28 | 29 | // Read and parse the PDF at /app/front/tests/013-stdcm-simulation-sheet.spec.ts:26:11
[webkit] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content: tests/013-stdcm-simulation-sheet.spec.ts#L26
3) [webkit] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content ────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: No PDF files found in directory: ./tests/stdcm-results/webkit 24 | 25 | if (!pdfFilePath) { > 26 | throw new Error(`No PDF files found in directory: ${downloadDir}`); | ^ 27 | } 28 | 29 | // Read and parse the PDF at /app/front/tests/013-stdcm-simulation-sheet.spec.ts:26:11
Check generated railjson sync
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check dockerfiles
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check scripts
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build (core-build, core)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check final newline
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build (gateway-test, gateway-standalone, gateway-front)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build (osrdyne, osrdyne-test)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check integration tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build (editoast, editoast-test)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check osrd schema
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check infra schema sync
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build (front-build, front-tests, front-devel, front-nginx)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check railjson generator
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check toml
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check reuse compliance
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check editoast tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check editoast lints
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check core
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check editoast openapi
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check osrdyne
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check front rtk sync
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check front
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check gateway
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check commits
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
End to end tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [webkit] › 006-stdcm.spec.ts#L1
[webkit] › 006-stdcm.spec.ts took 1.3m
Slow Test: [firefox] › 006-stdcm.spec.ts#L1
[firefox] › 006-stdcm.spec.ts took 1.2m
🎭 Playwright Run Summary
1 flaky [chromium] › 006-stdcm.spec.ts:97:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet 13 passed (3.5m)
🎭 Playwright Run Summary
3 failed [chromium] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content ───────── [firefox] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content ────────── [webkit] › 013-stdcm-simulation-sheet.spec.ts:21:5 › Verify simulation sheet content ─────────── 2 passed (23.8s)

Artifacts

Produced during runtime
Name Size
e2e-container-logs
84 KB
integration-videos
4.91 MB