Skip to content

editoast: add field weight to op #14607

editoast: add field weight to op

editoast: add field weight to op #14607

Triggered via pull request November 20, 2024 10:53
Status Failure
Total duration 39m 16s
Artifacts 3

build.yml

on: pull_request
Matrix: Build
Check dockerfiles
12s
Check dockerfiles
Check scripts
4s
Check scripts
Check generated railjson sync
25s
Check generated railjson sync
Check railjson generator
1m 48s
Check railjson generator
Check commits
9s
Check commits
Check final newline
8s
Check final newline
Check integration tests
1m 32s
Check integration tests
Check osrd schema
40s
Check osrd schema
Check toml
4s
Check toml
Check infra schema sync
20s
Check infra schema sync
Check reuse compliance
12s
Check reuse compliance
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 5 warnings, and 1 notice
Check commits
Process completed with exit code 1.
[chromium] › 003-study-management.spec.ts:31:7 › Validate the Study creation workflow › Create a new study: tests/003-study-management.spec.ts#L34
1) [chromium] › 003-study-management.spec.ts:31:7 › Validate the Study creation workflow › Create a new study TypeError: Cannot read properties of undefined (reading 'id') 32 | const studyPage = new StudyPage(page); 33 | // Navigate to project page > 34 | await page.goto(`/operational-studies/projects/${project.id}`); | ^ 35 | 36 | // Set translations based on the language 37 | const translations = OSRDLanguage === 'English' ? enTranslations : frTranslations; at /app/tests/003-study-management.spec.ts:34:62
[chromium] › 003-study-management.spec.ts:31:7 › Validate the Study creation workflow › Create a new study: tests/003-study-management.spec.ts#L34
1) [chromium] › 003-study-management.spec.ts:31:7 › Validate the Study creation workflow › Create a new study Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'id') 32 | const studyPage = new StudyPage(page); 33 | // Navigate to project page > 34 | await page.goto(`/operational-studies/projects/${project.id}`); | ^ 35 | 36 | // Set translations based on the language 37 | const translations = OSRDLanguage === 'English' ? enTranslations : frTranslations; at /app/tests/003-study-management.spec.ts:34:62
[chromium] › 003-study-management.spec.ts:31:7 › Validate the Study creation workflow › Create a new study: tests/003-study-management.spec.ts#L34
1) [chromium] › 003-study-management.spec.ts:31:7 › Validate the Study creation workflow › Create a new study Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'id') 32 | const studyPage = new StudyPage(page); 33 | // Navigate to project page > 34 | await page.goto(`/operational-studies/projects/${project.id}`); | ^ 35 | 36 | // Set translations based on the language 37 | const translations = OSRDLanguage === 'English' ? enTranslations : frTranslations; at /app/tests/003-study-management.spec.ts:34:62
[chromium] › 003-study-management.spec.ts:74:7 › Validate the Study creation workflow › Update an existing study: tests/003-study-management.spec.ts#L77
2) [chromium] › 003-study-management.spec.ts:74:7 › Validate the Study creation workflow › Update an existing study TypeError: Cannot read properties of undefined (reading 'id') 75 | const studyPage = new StudyPage(page); 76 | // Create a study > 77 | study = await createStudy(project.id, generateUniqueName(studyData.name)); | ^ 78 | // Navigate to study page 79 | await page.goto(`/operational-studies/projects/${project.id}/studies/${study.id}`); 80 | const translations = OSRDLanguage === 'English' ? enTranslations : frTranslations; at /app/tests/003-study-management.spec.ts:77:39
[chromium] › 003-study-management.spec.ts:74:7 › Validate the Study creation workflow › Update an existing study: tests/003-study-management.spec.ts#L77
2) [chromium] › 003-study-management.spec.ts:74:7 › Validate the Study creation workflow › Update an existing study Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'id') 75 | const studyPage = new StudyPage(page); 76 | // Create a study > 77 | study = await createStudy(project.id, generateUniqueName(studyData.name)); | ^ 78 | // Navigate to study page 79 | await page.goto(`/operational-studies/projects/${project.id}/studies/${study.id}`); 80 | const translations = OSRDLanguage === 'English' ? enTranslations : frTranslations; at /app/tests/003-study-management.spec.ts:77:39
[chromium] › 003-study-management.spec.ts:74:7 › Validate the Study creation workflow › Update an existing study: tests/003-study-management.spec.ts#L77
2) [chromium] › 003-study-management.spec.ts:74:7 › Validate the Study creation workflow › Update an existing study Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'id') 75 | const studyPage = new StudyPage(page); 76 | // Create a study > 77 | study = await createStudy(project.id, generateUniqueName(studyData.name)); | ^ 78 | // Navigate to study page 79 | await page.goto(`/operational-studies/projects/${project.id}/studies/${study.id}`); 80 | const translations = OSRDLanguage === 'English' ? enTranslations : frTranslations; at /app/tests/003-study-management.spec.ts:77:39
[chromium] › 003-study-management.spec.ts:121:7 › Validate the Study creation workflow › Delete a study: tests/003-study-management.spec.ts#L123
3) [chromium] › 003-study-management.spec.ts:121:7 › Validate the Study creation workflow › Delete a study TypeError: Cannot read properties of undefined (reading 'id') 121 | test('Delete a study', async ({ page }) => { 122 | // Create a study > 123 | study = await createStudy(project.id, generateUniqueName(studyData.name)); | ^ 124 | 125 | const studyPage = new StudyPage(page); 126 | at /app/tests/003-study-management.spec.ts:123:39
[chromium] › 003-study-management.spec.ts:121:7 › Validate the Study creation workflow › Delete a study: tests/003-study-management.spec.ts#L123
3) [chromium] › 003-study-management.spec.ts:121:7 › Validate the Study creation workflow › Delete a study Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'id') 121 | test('Delete a study', async ({ page }) => { 122 | // Create a study > 123 | study = await createStudy(project.id, generateUniqueName(studyData.name)); | ^ 124 | 125 | const studyPage = new StudyPage(page); 126 | at /app/tests/003-study-management.spec.ts:123:39
[chromium] › 003-study-management.spec.ts:121:7 › Validate the Study creation workflow › Delete a study: tests/003-study-management.spec.ts#L123
3) [chromium] › 003-study-management.spec.ts:121:7 › Validate the Study creation workflow › Delete a study Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'id') 121 | test('Delete a study', async ({ page }) => { 122 | // Create a study > 123 | study = await createStudy(project.id, generateUniqueName(studyData.name)); | ^ 124 | 125 | const studyPage = new StudyPage(page); 126 | at /app/tests/003-study-management.spec.ts:123:39
[chromium] › 004-scenario-management.spec.ts:31:7 › Validate the Scenario creation workflow › Create a new scenario: tests/004-scenario-management.spec.ts#L22
4) [chromium] › 004-scenario-management.spec.ts:31:7 › Validate the Scenario creation workflow › Create a new scenario TypeError: Cannot read properties of undefined (reading 'id') 20 | test.beforeAll('Fetch a project, study and add electrical profile ', async () => { 21 | project = await getProject(); > 22 | study = await getStudy(project.id); | ^ 23 | electricalProfileSet = await setElectricalProfile(); 24 | }); 25 | at /app/tests/004-scenario-management.spec.ts:22:36
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 (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 (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 (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/
🎭 Playwright Run Summary
62 failed [chromium] › 003-study-management.spec.ts:31:7 › Validate the Study creation workflow › Create a new study [chromium] › 003-study-management.spec.ts:74:7 › Validate the Study creation workflow › Update an existing study [chromium] › 003-study-management.spec.ts:121:7 › Validate the Study creation workflow › Delete a study [chromium] › 004-scenario-management.spec.ts:31:7 › Validate the Scenario creation workflow › Create a new scenario [chromium] › 004-scenario-management.spec.ts:97:7 › Validate the Scenario creation workflow › Delete a scenario [chromium] › 005-operational-studies.spec.ts:33:7 › Verify simulation configuration in operational studies › Pathfinding with rolling stock and composition code [chromium] › 007-op-rollingstock-tab.spec.ts:38:7 › Rolling stock Tab Verification › Select a rolling stock for operational study [chromium] › 007-op-rollingstock-tab.spec.ts:71:7 › Rolling stock Tab Verification › Modify a rolling stock for operational study [chromium] › 008-train-schedule.spec.ts:50:7 › Verify train schedule elements and filters › Loading trains and verifying simulation result [chromium] › 008-train-schedule.spec.ts:62:7 › Verify train schedule elements and filters › Filtering imported trains [chromium] › 009-rollingstock-editor.spec.ts:42:7 › Rollingstock editor page tests › Create a new rolling stock [chromium] › 009-rollingstock-editor.spec.ts:107:7 › Rollingstock editor page tests › Duplicate and modify a rolling stock [chromium] › 009-rollingstock-editor.spec.ts:139:7 › Rollingstock editor page tests › Duplicate and delete a rolling stock [chromium] › 009-rollingstock-editor.spec.ts:199:7 › Rollingstock editor page tests › Search for a rolling stock [chromium] › 010-op-route-tab.spec.ts:57:7 › Route Tab Verification › Select a route for operational study [chromium] › 010-op-route-tab.spec.ts:106:7 › Route Tab Verification › Reversing and deleting waypoints in a route for operational study [chromium] › 011-op-times-and-stops-tab.spec.ts:107:7 › Times and Stops Tab Verification › should correctly set and display times and stops tables [chromium] › 011-op-times-and-stops-tab.spec.ts:174:7 › Times and Stops Tab Verification › should correctly update and clear input table row [chromium] › 012-op-simulation-settings-tab.spec.ts:122:7 › Simulation Settings Tab Verification › Activate electrical profiles [chromium] › 012-op-simulation-settings-tab.spec.ts:177:7 › Simulation Settings Tab Verification › Activate composition code [chromium] › 012-op-simulation-settings-tab.spec.ts:232:7 › Simulation Settings Tab Verification › Activate linear and mareco margin [chromium] › 012-op-simulation-settings-tab.spec.ts:296:7 › Simulation Settings Tab Verification › Add all the simulation settings [firefox] › 003-study-management.spec.ts:31:7 › Validate the Study creation workflow › Create a new study [firefox] › 003-study-management.spec.ts:74:7 › Validate the Study creation workflow › Update an existing study [firefox] › 003-study-management.spec.ts:121:7 › Validate the Study creation workflow › Delete a study [firefox] › 004-scenario-management.spec.ts:31:7 › Validate the Scenario creation workflow › Create a new scenario [firefox] › 004-scenario-management.spec.ts:97:7 › Validate the Scenario creation workflow › Delete a scenario [firefox] › 005-operational-studies.spec.ts:33:7 › Verify simulation configuration in operational studies › Pathfinding with rolling stock and composition code [firefox] › 007-op-rollingstock-tab.spec.ts:38:7 › Rolling stock Tab Verification › Select a rolling stock for operational study [firefox] › 007-op-rollingstock-tab.spec.ts:71:7 › Rolling stock Tab Verification › Modify a rolling stock for operational study [firefox] › 008-train-schedule.spec.ts:50:7 › Verify train schedule elements and filters › Loading trains and verifying simulation result [firefox] › 008-train-schedule.spec.ts:62:7 › Verify train schedule elem

Artifacts

Produced during runtime
Name Size
e2e-container-logs Expired
111 KB
integration-container-logs Expired
23.9 KB
integration-videos Expired
91 MB