editoast: add field weight to op #14673
build.yml
on: pull_request
Matrix: Build
Check dockerfiles
9s
Check scripts
7s
Check generated railjson sync
24s
Check railjson generator
1m 51s
Check commits
7s
Check final newline
9s
Check integration tests
1m 24s
Check osrd schema
38s
Check toml
8s
Check infra schema sync
18s
Check reuse compliance
9s
Check front rtk sync
1m 32s
Check core
4m 11s
Check editoast tests
6m 26s
Check editoast lints
8m 59s
Check editoast openapi
1m 2s
Check gateway
3m 26s
Check osrdyne
3m 37s
Check front
2m 23s
Integration tests
1m 20s
End to end tests
38m 48s
Annotations
10 errors, 5 warnings, and 1 notice
[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
71 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:43:7 › Verify simulation configuration in operational studies › Pathfinding with rolling stock and composition code
[chromium] › 006-stdcm.spec.ts:37:7 › Verify train schedule elements and filters › Verify empty STDCM page
[chromium] › 006-stdcm.spec.ts:46:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops
[chromium] › 006-stdcm.spec.ts:68:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet
[chromium] › 007-op-rollingstock-tab.spec.ts:47:7 › Rolling stock Tab Verification › Select a rolling stock for operational study
[chromium] › 007-op-rollingstock-tab.spec.ts:80:7 › Rolling stock Tab Verification › Modify a rolling stock for operational study
[chromium] › 008-train-schedule.spec.ts:49:7 › Verify train schedule elements and filters › Loading trains and verifying simulation result
[chromium] › 008-train-schedule.spec.ts:61: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:61:7 › Route Tab Verification › Select a route for operational study
[chromium] › 010-op-route-tab.spec.ts:110:7 › Route Tab Verification › Reversing and deleting waypoints in a route for operational study
[chromium] › 011-op-times-and-stops-tab.spec.ts:115:7 › Times and Stops Tab Verification › should correctly set and display times and stops tables
[chromium] › 011-op-times-and-stops-tab.spec.ts:182:7 › Times and Stops Tab Verification › should correctly update and clear input table row
[chromium] › 012-op-simulation-settings-tab.spec.ts:131:7 › Simulation Settings Tab Verification › Activate electrical profiles
[chromium] › 012-op-simulation-settings-tab.spec.ts:186:7 › Simulation Settings Tab Verification › Activate composition code
[chromium] › 012-op-simulation-settings-tab.spec.ts:241:7 › Simulation Settings Tab Verification › Activate linear and mareco margin
[chromium] › 012-op-simulation-settings-tab.spec.ts:305: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:43:7 › Verify simulation configuration in operational studies › Pathfinding with rolling stock and composition code
[firefox] › 006-stdcm.spec.ts:37:7 › Verify train schedule elements and filters › Verify empty STDCM page
[fire
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-container-logs
Expired
|
133 KB |
|
integration-videos
Expired
|
110 MB |
|