front: stdcm: update simulation progress button design #15396
Annotations
4 errors, 6 warnings, and 1 notice
Run Playwright tests:
tests/pages/stdcm-page-model.ts#L391
1) [firefox] › 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: 1
at pages/stdcm-page-model.ts:391
389 | const fillVia = async (selectedSuggestion: Locator) => {
390 | await this.addViaButton.nth(viaNumber - 1).click();
> 391 | expect(await this.addViaButton.count()).toBe(viaNumber + 1);
| ^
392 | await this.getViaCi(viaNumber).fill(viaSearch);
393 | await selectedSuggestion.click();
394 | await expect(this.getViaCh(viaNumber)).toHaveValue('BV');
at fillVia (/app/front/tests/pages/stdcm-page-model.ts:391:47)
at STDCMPage.fillAndVerifyViaDetails (/app/front/tests/pages/stdcm-page-model.ts:400:9)
at /app/front/tests/006-stdcm.spec.ts:59:7
|
Run Playwright tests:
tests/pages/stdcm-page-model.ts#L391
1) [firefox] › 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: 1
at pages/stdcm-page-model.ts:391
389 | const fillVia = async (selectedSuggestion: Locator) => {
390 | await this.addViaButton.nth(viaNumber - 1).click();
> 391 | expect(await this.addViaButton.count()).toBe(viaNumber + 1);
| ^
392 | await this.getViaCi(viaNumber).fill(viaSearch);
393 | await selectedSuggestion.click();
394 | await expect(this.getViaCh(viaNumber)).toHaveValue('BV');
at fillVia (/app/front/tests/pages/stdcm-page-model.ts:391:47)
at STDCMPage.fillAndVerifyViaDetails (/app/front/tests/pages/stdcm-page-model.ts:400:9)
at /app/front/tests/006-stdcm.spec.ts:59:7
|
Run Playwright tests:
tests/pages/stdcm-page-model.ts#L391
1) [firefox] › 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: 1
at pages/stdcm-page-model.ts:391
389 | const fillVia = async (selectedSuggestion: Locator) => {
390 | await this.addViaButton.nth(viaNumber - 1).click();
> 391 | expect(await this.addViaButton.count()).toBe(viaNumber + 1);
| ^
392 | await this.getViaCi(viaNumber).fill(viaSearch);
393 | await selectedSuggestion.click();
394 | await expect(this.getViaCh(viaNumber)).toHaveValue('BV');
at fillVia (/app/front/tests/pages/stdcm-page-model.ts:391:47)
at STDCMPage.fillAndVerifyViaDetails (/app/front/tests/pages/stdcm-page-model.ts:400:9)
at /app/front/tests/006-stdcm.spec.ts:59:7
|
Run Playwright tests
Process completed with exit code 1.
|
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 30.0s
|
Run Playwright tests:
[webkit] › 003-study-management.spec.ts#L1
[webkit] › 003-study-management.spec.ts took 20.0s
|
Run Playwright tests:
[firefox] › 003-study-management.spec.ts#L1
[firefox] › 003-study-management.spec.ts took 16.9s
|
Run Playwright tests:
[chromium] › 005-operational-studies.spec.ts#L1
[chromium] › 005-operational-studies.spec.ts took 16.6s
|
Run Playwright tests:
[webkit] › 002-project-management.spec.ts#L1
[webkit] › 002-project-management.spec.ts took 15.6s
|
Run Playwright tests
1 failed
[firefox] › 006-stdcm.spec.ts:46:7 › Verify train schedule elements and filters › Launch STDCM simulation with all stops
109 passed (10.4m)
|
Loading