front: display path steps even if the simulation failed #15623
Annotations
10 errors, 6 warnings, and 1 notice
Run Playwright tests:
tests/pages/stdcm-page-model.ts#L269
1) [chromium] › 006-stdcm.spec.ts:37:7 › Verify train schedule elements and filters › Verify empty STDCM page
Error: Timed out 10000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('.stdcm-card:has(.stdcm-via-icons:has-text("1"))').locator('[id^="id"][id$="-ci"]')
Expected string: ""
Received string: serializes to the same string
Call log:
- expect.toHaveValue with timeout 10000ms
- waiting for locator('.stdcm-card:has(.stdcm-via-icons:has-text("1"))').locator('[id^="id"][id$="-ci"]')
at pages/stdcm-page-model.ts:269
267 | async addAndDeleteEmptyVia() {
268 | await this.addViaButton.click();
> 269 | await expect(this.getViaCi(1)).toHaveValue('');
| ^
270 | await expect(this.getViaCh(1)).toHaveValue('');
271 | await this.viaIcon.hover();
272 | await expect(this.viaDeleteButton).toBeVisible();
at STDCMPage.addAndDeleteEmptyVia (/app/front/tests/pages/stdcm-page-model.ts:269:36)
at /app/front/tests/006-stdcm.spec.ts:42:5
|
Run Playwright tests:
tests/pages/stdcm-page-model.ts#L269
1) [chromium] › 006-stdcm.spec.ts:37:7 › Verify train schedule elements and filters › Verify empty STDCM page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('.stdcm-card:has(.stdcm-via-icons:has-text("1"))').locator('[id^="id"][id$="-ci"]')
Expected string: ""
Received string: serializes to the same string
Call log:
- expect.toHaveValue with timeout 10000ms
- waiting for locator('.stdcm-card:has(.stdcm-via-icons:has-text("1"))').locator('[id^="id"][id$="-ci"]')
at pages/stdcm-page-model.ts:269
267 | async addAndDeleteEmptyVia() {
268 | await this.addViaButton.click();
> 269 | await expect(this.getViaCi(1)).toHaveValue('');
| ^
270 | await expect(this.getViaCh(1)).toHaveValue('');
271 | await this.viaIcon.hover();
272 | await expect(this.viaDeleteButton).toBeVisible();
at STDCMPage.addAndDeleteEmptyVia (/app/front/tests/pages/stdcm-page-model.ts:269:36)
at /app/front/tests/006-stdcm.spec.ts:42:5
|
Run Playwright tests:
tests/pages/stdcm-page-model.ts#L269
1) [chromium] › 006-stdcm.spec.ts:37:7 › Verify train schedule elements and filters › Verify empty STDCM page
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('.stdcm-card:has(.stdcm-via-icons:has-text("1"))').locator('[id^="id"][id$="-ci"]')
Expected string: ""
Received string: serializes to the same string
Call log:
- expect.toHaveValue with timeout 10000ms
- waiting for locator('.stdcm-card:has(.stdcm-via-icons:has-text("1"))').locator('[id^="id"][id$="-ci"]')
at pages/stdcm-page-model.ts:269
267 | async addAndDeleteEmptyVia() {
268 | await this.addViaButton.click();
> 269 | await expect(this.getViaCi(1)).toHaveValue('');
| ^
270 | await expect(this.getViaCh(1)).toHaveValue('');
271 | await this.viaIcon.hover();
272 | await expect(this.viaDeleteButton).toBeVisible();
at STDCMPage.addAndDeleteEmptyVia (/app/front/tests/pages/stdcm-page-model.ts:269:36)
at /app/front/tests/006-stdcm.spec.ts:42:5
|
Run Playwright tests:
tests/pages/stdcm-page-model.ts#L392
2) [chromium] › 006-stdcm.spec.ts:46:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops
Error: expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 0
at pages/stdcm-page-model.ts:392
390 | const fillVia = async (selectedSuggestion: Locator) => {
391 | await this.addViaButton.nth(viaNumber - 1).click();
> 392 | expect(await this.addViaButton.count()).toBe(viaNumber + 1);
| ^
393 | await this.getViaCi(viaNumber).fill(viaSearch);
394 | await selectedSuggestion.click();
395 | await expect(this.getViaCh(viaNumber)).toHaveValue('BV');
at fillVia (/app/front/tests/pages/stdcm-page-model.ts:392:47)
at STDCMPage.fillAndVerifyViaDetails (/app/front/tests/pages/stdcm-page-model.ts:401:9)
at /app/front/tests/006-stdcm.spec.ts:59:7
|
Run Playwright tests:
tests/pages/stdcm-page-model.ts#L392
2) [chromium] › 006-stdcm.spec.ts:46:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 0
at pages/stdcm-page-model.ts:392
390 | const fillVia = async (selectedSuggestion: Locator) => {
391 | await this.addViaButton.nth(viaNumber - 1).click();
> 392 | expect(await this.addViaButton.count()).toBe(viaNumber + 1);
| ^
393 | await this.getViaCi(viaNumber).fill(viaSearch);
394 | await selectedSuggestion.click();
395 | await expect(this.getViaCh(viaNumber)).toHaveValue('BV');
at fillVia (/app/front/tests/pages/stdcm-page-model.ts:392:47)
at STDCMPage.fillAndVerifyViaDetails (/app/front/tests/pages/stdcm-page-model.ts:401:9)
at /app/front/tests/006-stdcm.spec.ts:59:7
|
Run Playwright tests:
tests/pages/stdcm-page-model.ts#L392
2) [chromium] › 006-stdcm.spec.ts:46:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 0
at pages/stdcm-page-model.ts:392
390 | const fillVia = async (selectedSuggestion: Locator) => {
391 | await this.addViaButton.nth(viaNumber - 1).click();
> 392 | expect(await this.addViaButton.count()).toBe(viaNumber + 1);
| ^
393 | await this.getViaCi(viaNumber).fill(viaSearch);
394 | await selectedSuggestion.click();
395 | await expect(this.getViaCh(viaNumber)).toHaveValue('BV');
at fillVia (/app/front/tests/pages/stdcm-page-model.ts:392:47)
at STDCMPage.fillAndVerifyViaDetails (/app/front/tests/pages/stdcm-page-model.ts:401:9)
at /app/front/tests/006-stdcm.spec.ts:59:7
|
Run Playwright tests:
tests/pages/stdcm-page-model.ts#L392
3) [chromium] › 006-stdcm.spec.ts:68:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet
Error: expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 0
at pages/stdcm-page-model.ts:392
390 | const fillVia = async (selectedSuggestion: Locator) => {
391 | await this.addViaButton.nth(viaNumber - 1).click();
> 392 | expect(await this.addViaButton.count()).toBe(viaNumber + 1);
| ^
393 | await this.getViaCi(viaNumber).fill(viaSearch);
394 | await selectedSuggestion.click();
395 | await expect(this.getViaCh(viaNumber)).toHaveValue('BV');
at fillVia (/app/front/tests/pages/stdcm-page-model.ts:392:47)
at STDCMPage.fillAndVerifyViaDetails (/app/front/tests/pages/stdcm-page-model.ts:401:9)
at /app/front/tests/006-stdcm.spec.ts:74:5
|
Run Playwright tests:
tests/pages/stdcm-page-model.ts#L392
3) [chromium] › 006-stdcm.spec.ts:68:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 0
at pages/stdcm-page-model.ts:392
390 | const fillVia = async (selectedSuggestion: Locator) => {
391 | await this.addViaButton.nth(viaNumber - 1).click();
> 392 | expect(await this.addViaButton.count()).toBe(viaNumber + 1);
| ^
393 | await this.getViaCi(viaNumber).fill(viaSearch);
394 | await selectedSuggestion.click();
395 | await expect(this.getViaCh(viaNumber)).toHaveValue('BV');
at fillVia (/app/front/tests/pages/stdcm-page-model.ts:392:47)
at STDCMPage.fillAndVerifyViaDetails (/app/front/tests/pages/stdcm-page-model.ts:401:9)
at /app/front/tests/006-stdcm.spec.ts:74:5
|
Run Playwright tests:
tests/pages/stdcm-page-model.ts#L392
3) [chromium] › 006-stdcm.spec.ts:68:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 0
at pages/stdcm-page-model.ts:392
390 | const fillVia = async (selectedSuggestion: Locator) => {
391 | await this.addViaButton.nth(viaNumber - 1).click();
> 392 | expect(await this.addViaButton.count()).toBe(viaNumber + 1);
| ^
393 | await this.getViaCi(viaNumber).fill(viaSearch);
394 | await selectedSuggestion.click();
395 | await expect(this.getViaCh(viaNumber)).toHaveValue('BV');
at fillVia (/app/front/tests/pages/stdcm-page-model.ts:392:47)
at STDCMPage.fillAndVerifyViaDetails (/app/front/tests/pages/stdcm-page-model.ts:401:9)
at /app/front/tests/006-stdcm.spec.ts:74:5
|
Run Playwright tests:
tests/pages/op-route-page-model.ts#L197
4) [chromium] › 010-op-route-tab.spec.ts:61:7 › Route Tab Verification › Select a route for operational study
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('result-pathfinding-done')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByTestId('result-pathfinding-done')
at pages/op-route-page-model.ts:197
195 | await this.page.waitForSelector('.dots-loader', { state: 'hidden' });
196 | await expect(this.searchByTrigramContainer).not.toBeVisible();
> 197 | await expect(this.resultPathfindingDone).toBeVisible();
| ^
198 |
199 | expect(await this.originInfo.innerText()).toEqual(expectedOriginTrigram);
200 | expect(await this.destinationInfo.innerText()).toEqual(expectedDestinationTrigram);
at RoutePage.performPathfindingByTrigram (/app/front/tests/pages/op-route-page-model.ts:197:46)
at /app/front/tests/010-op-route-tab.spec.ts:69:5
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run Playwright tests:
[chromium] › 009-rollingstock-editor.spec.ts#L1
[chromium] › 009-rollingstock-editor.spec.ts took 31.9s
|
Run Playwright tests:
[chromium] › 005-operational-studies.spec.ts#L1
[chromium] › 005-operational-studies.spec.ts took 23.1s
|
Run Playwright tests:
[webkit] › 003-study-management.spec.ts#L1
[webkit] › 003-study-management.spec.ts took 21.4s
|
Run Playwright tests:
[firefox] › 003-study-management.spec.ts#L1
[firefox] › 003-study-management.spec.ts took 16.9s
|
Run Playwright tests:
[webkit] › 002-project-management.spec.ts#L1
[webkit] › 002-project-management.spec.ts took 16.8s
|
Run Playwright tests
26 failed
[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] › 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] › 012-op-simulation-settings-tab.spec.ts:130:7 › Simulation Settings Tab Verification › Activate electrical profiles
[chromium] › 012-op-simulation-settings-tab.spec.ts:184:7 › Simulation Settings Tab Verification › Activate composition code
[chromium] › 012-op-simulation-settings-tab.spec.ts:238:7 › Simulation Settings Tab Verification › Activate linear and mareco margin
[chromium] › 012-op-simulation-settings-tab.spec.ts:301:7 › Simulation Settings Tab Verification › Add all the simulation settings
[firefox] › 006-stdcm.spec.ts:37:7 › Verify train schedule elements and filters › Verify empty STDCM page
[firefox] › 006-stdcm.spec.ts:46:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops
[firefox] › 006-stdcm.spec.ts:68:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet
[firefox] › 010-op-route-tab.spec.ts:61:7 › Route Tab Verification › Select a route for operational study
[firefox] › 010-op-route-tab.spec.ts:110:7 › Route Tab Verification › Reversing and deleting waypoints in a route for operational study
[firefox] › 012-op-simulation-settings-tab.spec.ts:130:7 › Simulation Settings Tab Verification › Activate electrical profiles
[firefox] › 012-op-simulation-settings-tab.spec.ts:184:7 › Simulation Settings Tab Verification › Activate composition code
[firefox] › 012-op-simulation-settings-tab.spec.ts:238:7 › Simulation Settings Tab Verification › Activate linear and mareco margin
[firefox] › 012-op-simulation-settings-tab.spec.ts:301:7 › Simulation Settings Tab Verification › Add all the simulation settings
[webkit] › 006-stdcm.spec.ts:37:7 › Verify train schedule elements and filters › Verify empty STDCM page
[webkit] › 006-stdcm.spec.ts:46:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops
[webkit] › 010-op-route-tab.spec.ts:61:7 › Route Tab Verification › Select a route for operational study
[webkit] › 010-op-route-tab.spec.ts:110:7 › Route Tab Verification › Reversing and deleting waypoints in a route for operational study
[webkit] › 012-op-simulation-settings-tab.spec.ts:130:7 › Simulation Settings Tab Verification › Activate electrical profiles
[webkit] › 012-op-simulation-settings-tab.spec.ts:184:7 › Simulation Settings Tab Verification › Activate composition code
[webkit] › 012-op-simulation-settings-tab.spec.ts:238:7 › Simulation Settings Tab Verification › Activate linear and mareco margin
[webkit] › 012-op-simulation-settings-tab.spec.ts:301:7 › Simulation Settings Tab Verification › Add all the simulation settings
2 flaky
[webkit] › 006-stdcm.spec.ts:68:7 › Verify train schedule elements and filters › Verify STDCM stops and simulation sheet
[webkit] › 007-op-rollingstock-tab.spec.ts:80:7 › Rolling stock Tab Verification › Modify a rolling stock for operational study
82 passed (20.5m)
|
Loading