front: stdcm: linked train search improvements #14331
Annotations
2 errors, 4 warnings, and 1 notice
Run Playwright tests:
tests/pages/op-timetable-page-model.ts#L232
1) [chromium] › 012-op-simulation-settings-tab.spec.ts:177:7 › Simulation Settings Tab Verification › Activate composition code
Error: expect(received).toEqual(expected) // deep equality
Expected: "11:51"
Received: "12:02"
at pages/op-timetable-page-model.ts:232
230 | await expect(this.trainArrivalTime).toBeVisible();
231 | const actualArrivalTime = await this.trainArrivalTime.textContent();
> 232 | expect(actualArrivalTime).toEqual(expectedArrivalTime);
| ^
233 | }
234 |
235 | async clickOnScenarioCollapseButton() {
at OperationalStudiesTimetablePage.getTrainArrivalTime (/app/tests/pages/op-timetable-page-model.ts:232:31)
at /app/tests/012-op-simulation-settings-tab.spec.ts:228:5
|
Run Playwright tests:
tests/pages/op-output-table-page-model.ts#L23
1) [chromium] › 012-op-simulation-settings-tab.spec.ts:177:7 › Simulation Settings Tab Verification › Activate composition code
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 30000ms exceeded.
Call log:
- waiting for locator('.time-stop-outputs .time-stops-datasheet .dsg-row').nth(1).locator('.dsg-cell.dsg-cell-disabled').nth(undefined) to be visible
at pages/op-output-table-page-model.ts:23
21 | // Retrieve the cell value based on the locator type
22 | static async getCellValue(cell: Locator, isInput: boolean = true): Promise<string> {
> 23 | await cell.waitFor({ state: 'visible', timeout: 30 * 1000 });
| ^
24 | return isInput
25 | ? (await cell.locator('input').getAttribute('value'))?.trim() || ''
26 | : (await cell.textContent())?.trim() || '';
at Function.getCellValue (/app/tests/pages/op-output-table-page-model.ts:23:16)
at OperationalStudiesOutputTablePage.getOutputTableData (/app/tests/pages/op-output-table-page-model.ts:70:49)
at /app/tests/012-op-simulation-settings-tab.spec.ts:230:5
|
Run Playwright tests:
[chromium] › 009-rollingstock-editor.spec.ts#L1
[chromium] › 009-rollingstock-editor.spec.ts took 29.5s
|
Run Playwright tests:
[firefox] › 008-train-schedule.spec.ts#L1
[firefox] › 008-train-schedule.spec.ts took 26.3s
|
Run Playwright tests:
[firefox] › 003-study-management.spec.ts#L1
[firefox] › 003-study-management.spec.ts took 19.2s
|
Run Playwright tests:
[firefox] › 002-project-management.spec.ts#L1
[firefox] › 002-project-management.spec.ts took 15.6s
|
Run Playwright tests
1 flaky
[chromium] › 012-op-simulation-settings-tab.spec.ts:177:7 › Simulation Settings Tab Verification › Activate composition code
4 skipped
96 passed (9.2m)
|
Loading