Skip to content

front: enable authorization #13832

front: enable authorization

front: enable authorization #13832

Triggered via pull request October 31, 2024 16:29
Status Success
Total duration 13m 41s
Artifacts 2

build.yml

on: pull_request
Matrix: build
check_generated_railjson_sync
22s
check_generated_railjson_sync
check_railjson_generator
1m 49s
check_railjson_generator
check_commits
8s
check_commits
Check final newline
10s
Check final newline
check_integration_tests
1m 20s
check_integration_tests
check_osrd_schema
37s
check_osrd_schema
check_toml
9s
check_toml
check_infra_schema_sync
16s
check_infra_schema_sync
check_reuse_compliance
10s
check_reuse_compliance
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 14 warnings, and 1 notice
[chromium] › 004-scenario-management.spec.ts:21:7 › Test if scenario creation workflow is working properly › Create a new scenario: tests/utils/scenario.ts#L29
1) [chromium] › 004-scenario-management.spec.ts:21:7 › Test if scenario creation workflow is working properly › Create a new scenario TypeError: Cannot read properties of undefined (reading 'id') at utils/scenario.ts:29 27 | // Create a new scenario with a unique name 28 | const scenario = await postApiRequest( > 29 | `/api/projects/${project.id}/studies/${study.id}/scenarios/`, | ^ 30 | { 31 | ...scenarioData, 32 | name: `${scenarioData.name} ${uuidv4()}`, at setupScenario (/app/tests/utils/scenario.ts:29:50) at /app/tests/004-scenario-management.spec.ts:17:35
[firefox] › 001-home-page.spec.ts:22:7 › Home page OSRD › should display links in the home page: tests/pages/home-page-model.ts#L79
2) [firefox] › 001-home-page.spec.ts:22:7 › Home page OSRD › should display links in the home page Error: expect(locator).toHaveText(expected) Locator: locator('h5') - Expected - 5 + Received + 5 Array [ - "Études d'exploitation", - "Sillons de dernière minute", - "Éditeur d'infrastructure", - "Éditeur de matériel roulant", - "Cartographie", + "operationalStudies", + "stdcm", + "editor", + "rollingStockEditor", + "map", ] Call log: - expect.toHaveText with timeout 10000ms - waiting for locator('h5') - locator resolved to 5 elements - locator resolved to 5 elements at pages/home-page-model.ts:79 77 | // Assert that the expected links are displayed on the page 78 | async getDisplayLinks() { > 79 | expect(this.getLinks).toHaveText([ | ^ 80 | this.getTranslations('operationalStudies'), 81 | this.getTranslations('stdcm'), 82 | this.getTranslations('editor'), at HomePage.getDisplayLinks (/app/tests/pages/home-page-model.ts:79:27) at /app/tests/001-home-page.spec.ts:23:20
[firefox] › 004-scenario-management.spec.ts:21:7 › Test if scenario creation workflow is working properly › Create a new scenario: tests/utils/scenario.ts#L29
3) [firefox] › 004-scenario-management.spec.ts:21:7 › Test if scenario creation workflow is working properly › Create a new scenario TypeError: Cannot read properties of undefined (reading 'id') at utils/scenario.ts:29 27 | // Create a new scenario with a unique name 28 | const scenario = await postApiRequest( > 29 | `/api/projects/${project.id}/studies/${study.id}/scenarios/`, | ^ 30 | { 31 | ...scenarioData, 32 | name: `${scenarioData.name} ${uuidv4()}`, at setupScenario (/app/tests/utils/scenario.ts:29:50) at /app/tests/004-scenario-management.spec.ts:17:35
[firefox] › 012-op-simulation-settings-tab.spec.ts:248:7 › Simulation Settings Tab Verification › Activate linear and mareco margin: tests/012-op-simulation-settings-tab.spec.ts#L1
4) [firefox] › 012-op-simulation-settings-tab.spec.ts:248:7 › Simulation Settings Tab Verification › Activate linear and mareco margin Test timeout of 90000ms exceeded.
[firefox] › 012-op-simulation-settings-tab.spec.ts:248:7 › Simulation Settings Tab Verification › Activate linear and mareco margin: tests/pages/op-timetable-page-model.ts#L215
4) [firefox] › 012-op-simulation-settings-tab.spec.ts:248:7 › Simulation Settings Tab Verification › Activate linear and mareco margin Error: locator.scrollIntoViewIfNeeded: Test timeout of 90000ms exceeded. Call log: - waiting for locator('.time-stops-datasheet') at pages/op-timetable-page-model.ts:215 213 | 214 | async verifyTimeStopsDataSheetVisibility(timeout = 60 * 1000): Promise<void> { > 215 | await this.timeStopsDataSheet.scrollIntoViewIfNeeded(); | ^ 216 | // Wait for the Times and Stops simulation dataSheet to be fully loaded with a specified timeout (default: 60 seconds) 217 | await expect(this.timeStopsDataSheet).toBeVisible({ timeout }); 218 | } at OperationalStudiesTimetablePage.verifyTimeStopsDataSheetVisibility (/app/tests/pages/op-timetable-page-model.ts:215:35) at /app/tests/012-op-simulation-settings-tab.spec.ts:307:27
build (core-build, core)
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (osrdyne, osrdyne-test)
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (front-build, front-tests, front-devel, front-nginx)
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (editoast, editoast-test)
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (gateway-test, gateway-standalone, gateway-front)
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check_railjson_generator
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check_front
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check_gateway
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check_osrdyne
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check_core
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check_editoast_tests
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
integration_tests
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: [webkit] › 008-train-schedule.spec.ts#L1
[webkit] › 008-train-schedule.spec.ts took 58.0s
Slow Test: [chromium] › 009-rollingstock-editor.spec.ts#L1
[chromium] › 009-rollingstock-editor.spec.ts took 31.0s
🎭 Playwright Run Summary
4 flaky [chromium] › 004-scenario-management.spec.ts:21:7 › Test if scenario creation workflow is working properly › Create a new scenario [firefox] › 001-home-page.spec.ts:22:7 › Home page OSRD › should display links in the home page [firefox] › 004-scenario-management.spec.ts:21:7 › Test if scenario creation workflow is working properly › Create a new scenario [firefox] › 012-op-simulation-settings-tab.spec.ts:248:7 › Simulation Settings Tab Verification › Activate linear and mareco margin 7 skipped 93 passed (8.8m)

Artifacts

Produced during runtime
Name Size
integration-container-logs
317 KB
integration-videos
15.4 MB