editoast: add field weight to op #14613
build.yml
on: pull_request
Matrix: Build
Check dockerfiles
10s
Check scripts
3s
Check generated railjson sync
25s
Check railjson generator
2m 4s
Check commits
9s
Check final newline
9s
Check integration tests
1m 20s
Check osrd schema
37s
Check toml
5s
Check infra schema sync
18s
Check reuse compliance
9s
Check front rtk sync
1m 26s
Check core
4m 1s
Check editoast tests
6m 42s
Check editoast lints
9m 5s
Check editoast openapi
1m 6s
Check gateway
3m 28s
Check osrdyne
3m 48s
Check front
2m 40s
Integration tests
1m 26s
End to end tests
37m 25s
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 (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 (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 (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/
|
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/
|
🎭 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
|
108 KB |
|
integration-container-logs
Expired
|
24.4 KB |
|
integration-videos
Expired
|
87.4 MB |
|