front: fix space time chart when first or last waypoint are hidden #14095
Annotations
2 errors, 5 warnings, and 1 notice
tests/pages/op-output-table-page-model.ts#L23
1) [chromium] › 012-op-simulation-settings-tab.spec.ts:232:7 › Simulation Settings Tab Verification › Activate linear and mareco margin
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:294:5
|
tests/utils/api-setup.ts#L156
2) [firefox] › 012-op-simulation-settings-tab.spec.ts:232:7 › Simulation Settings Tab Verification › Activate linear and mareco margin
SyntaxError: Unexpected token 'F', "Failed to "... is not valid JSON
at utils/api-setup.ts:156
154 | ): Promise<Scenario> => {
155 | const scenarios: GetProjectsByProjectIdStudiesAndStudyIdScenariosApiResponse =
> 156 | await getApiRequest(`/api/projects/${projectId}/studies/${studyId}/scenarios`);
| ^
157 | const scenario = scenarios.results.find((s: ScenarioWithDetails) => s.name === scenarioName);
158 | return scenario as Scenario;
159 | };
at getScenario (/app/tests/utils/api-setup.ts:156:5)
at deleteScenario (/app/tests/utils/teardown-utils.ts:100:20)
at /app/tests/012-op-simulation-settings-tab.spec.ts:119:5
|
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
[chromium] › 009-rollingstock-editor.spec.ts#L1
[chromium] › 009-rollingstock-editor.spec.ts took 29.9s
|
[chromium] › 010-op-route-tab.spec.ts#L1
[chromium] › 010-op-route-tab.spec.ts took 26.7s
|
[firefox] › 003-study-management.spec.ts#L1
[firefox] › 003-study-management.spec.ts took 19.6s
|
[firefox] › 002-project-management.spec.ts#L1
[firefox] › 002-project-management.spec.ts took 15.2s
|
|
The logs for this run have expired and are no longer available.
Loading