Feature/add extension e2e tests #4838
test.yml
on: pull_request
unit-test
2m 26s
e2e-test
9m 59s
Annotations
3 errors, 2 warnings, 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: 'inquisitive_tomato_meerkat' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('treegrid').getByRole('row', { name: 'inquisitive_tomato_meerkat' })
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-activities.test.ts:75:3 › Plan Activities › Deleting multiple activity directives but only 1 has a remaining anchored dependent should prompt for just the one with a remaining dependent:
e2e-tests/tests/plan-activities.test.ts#L1
2) [e2e tests] › tests/plan-activities.test.ts:75:3 › Plan Activities › Deleting multiple activity directives but only 1 has a remaining anchored dependent should prompt for just the one with a remaining dependent
Test timeout of 30000ms exceeded.
|
[e2e tests] › tests/plan-activities.test.ts:75:3 › Plan Activities › Deleting multiple activity directives but only 1 has a remaining anchored dependent should prompt for just the one with a remaining dependent:
e2e-tests/tests/plan-activities.test.ts#L96
2) [e2e tests] › tests/plan-activities.test.ts:75:3 › Plan Activities › Deleting multiple activity directives but only 1 has a remaining anchored dependent should prompt for just the one with a remaining dependent
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for getByText('Delete 2 Activity Directives')
94 | button: 'right',
95 | });
> 96 | await page.getByText('Delete 2 Activity Directives').click();
| ^
97 | await expect(page.locator('.modal-content .anchor-item')).toHaveCount(1);
98 | await page.locator('.modal-content select').nth(1).selectOption('anchor-root');
99 | await page.getByRole('button', { name: 'Confirm' }).click();
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-activities.test.ts:96:58
|
unit-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
e2e-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
🎭 Playwright Run Summary
2 flaky
[e2e tests] › tests/model.test.ts:143:3 › Model › Should successfully save the model changes ───
[e2e tests] › tests/plan-activities.test.ts:75:3 › Plan Activities › Deleting multiple activity directives but only 1 has a remaining anchored dependent should prompt for just the one with a remaining dependent
183 passed (7.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
E2E Test Results
|
19.5 MB |
|
Unit Test Results
|
3.13 MB |
|