Addresses a11y labels error issue #1609 #4978
test.yml
on: pull_request
unit-test
2m 34s
e2e-test
9m 57s
Annotations
3 errors and 1 notice
[e2e tests] › tests/model.test.ts:143:3 › Model › Should successfully save the model changes:
e2e-tests/fixtures/Models.ts#L110
1) [e2e tests] › tests/model.test.ts:143:3 › Model › Should successfully save the model changes ──
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('treegrid').getByRole('row', { name: 'polite_green_goose' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('treegrid').getByRole('row', { name: 'polite_green_goose' })
at fixtures/Models.ts:110
108 | await filterIcon.click();
109 | await this.page.locator('.ag-popup').getByRole('textbox', { name: 'Filter Value' }).first().fill(modelName);
> 110 | await expect(this.table.getByRole('row', { name: modelName })).toBeVisible();
| ^
111 | await this.page.keyboard.press('Escape');
112 | }
113 |
at Models.filterTable (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Models.ts:110:68)
at Models.deleteModel (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Models.ts:57:5)
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/model.test.ts:62:3
|
[e2e tests] › tests/plan-simulation-templates.test.ts:75:3 › Plan Simulation Templates › Setting a simulation template to a simulation should update the parameter values:
e2e-tests/tests/plan-simulation-templates.test.ts#L18
2) [e2e tests] › tests/plan-simulation-templates.test.ts:75:3 › Plan Simulation Templates › Setting a simulation template to a simulation should update the parameter values
"beforeAll" hook timeout of 30000ms exceeded.
16 | let schedulingGoals: SchedulingGoals;
17 |
> 18 | test.beforeAll(async ({ baseURL, browser }) => {
| ^
19 | context = await browser.newContext();
20 | page = await context.newPage();
21 |
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-simulation-templates.test.ts:18:6
|
[e2e tests] › tests/plan-simulation-templates.test.ts:75:3 › Plan Simulation Templates › Setting a simulation template to a simulation should update the parameter values:
e2e-tests/fixtures/Plan.ts#L444
2) [e2e tests] › tests/plan-simulation-templates.test.ts:75:3 › Plan Simulation Templates › Setting a simulation template to a simulation should update the parameter values
Error: page.waitForFunction: Target page, context or browser has been closed
at fixtures/Plan.ts:444
442 | }
443 |
> 444 | await this.page.waitForFunction(
| ^
445 | templateName =>
446 | document.querySelector('.simulation-template-input-container .selected-display-value')?.innerHTML ===
447 | templateName,
at Plan.selectSimulationTemplateByName (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Plan.ts:444:21)
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-simulation-templates.test.ts:60:3
|
🎭 Playwright Run Summary
2 flaky
[e2e tests] › tests/model.test.ts:143:3 › Model › Should successfully save the model changes ───
[e2e tests] › tests/plan-simulation-templates.test.ts:75:3 › Plan Simulation Templates › Setting a simulation template to a simulation should update the parameter values
187 passed (6.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
E2E Test Results
|
19.1 MB |
|
Unit Test Results
|
3.26 MB |
|