front: clean scenario page #13642
Annotations
4 errors, 3 warnings, and 1 notice
Run Playwright tests:
tests/utils/scenario.ts#L29
1) [chromium] › 004-scenario-management.spec.ts:21:7 › Test if scenario creation workflow is working properly › Create a new scenario
TypeError: Cannot read properties of undefined (reading 'id')
at utils/scenario.ts:29
27 | // Create a new scenario with a unique name
28 | const scenario = await postApiRequest(
> 29 | `/api/projects/${project.id}/studies/${study.id}/scenarios/`,
| ^
30 | {
31 | ...scenarioData,
32 | name: `${scenarioData.name} ${uuidv4()}`,
at setupScenario (/app/tests/utils/scenario.ts:29:50)
at /app/tests/004-scenario-management.spec.ts:17:35
|
Run Playwright tests:
tests/012-op-simulation-settings-tab.spec.ts#L1
2) [chromium] › 012-op-simulation-settings-tab.spec.ts:193:7 › Simulation Settings Tab Verification › Activate composition code
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
tests/pages/op-output-table-page-model.ts#L24
2) [chromium] › 012-op-simulation-settings-tab.spec.ts:193:7 › Simulation Settings Tab Verification › Activate composition code
Error: locator.waitFor: Test timeout of 90000ms 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:24
22 | // Retrieve the cell value based on the locator type
23 | static async getCellValue(cell: Locator, isInput: boolean = true): Promise<string> {
> 24 | await cell.waitFor({ state: 'visible' });
| ^
25 | return isInput
26 | ? (await cell.locator('input').getAttribute('value'))?.trim() || ''
27 | : (await cell.textContent())?.trim() || '';
at Function.getCellValue (/app/tests/pages/op-output-table-page-model.ts:24:16)
at OperationalStudiesOutputTablePage.getOutputTableData (/app/tests/pages/op-output-table-page-model.ts:71:49)
at /app/tests/012-op-simulation-settings-tab.spec.ts:246:5
|
Run Playwright tests:
tests/utils/scenario.ts#L29
3) [webkit] › 004-scenario-management.spec.ts:21:7 › Test if scenario creation workflow is working properly › Create a new scenario
TypeError: Cannot read properties of undefined (reading 'id')
at utils/scenario.ts:29
27 | // Create a new scenario with a unique name
28 | const scenario = await postApiRequest(
> 29 | `/api/projects/${project.id}/studies/${study.id}/scenarios/`,
| ^
30 | {
31 | ...scenarioData,
32 | name: `${scenarioData.name} ${uuidv4()}`,
at setupScenario (/app/tests/utils/scenario.ts:29:50)
at /app/tests/004-scenario-management.spec.ts:17:35
|
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/
|
Run Playwright tests:
[firefox] › 009-rollingstock-editor.spec.ts#L1
[firefox] › 009-rollingstock-editor.spec.ts took 47.0s
|
Run Playwright tests:
[firefox] › 008-train-schedule.spec.ts#L1
[firefox] › 008-train-schedule.spec.ts took 18.4s
|
Run Playwright tests
3 flaky
[chromium] › 004-scenario-management.spec.ts:21:7 › Test if scenario creation workflow is working properly › Create a new scenario
[chromium] › 012-op-simulation-settings-tab.spec.ts:193:7 › Simulation Settings Tab Verification › Activate composition code
[webkit] › 004-scenario-management.spec.ts:21:7 › Test if scenario creation workflow is working properly › Create a new scenario
7 skipped
94 passed (8.1m)
|
Loading