Add External Source (and External Event) Attribute Validation #4955
test.yml
on: pull_request
unit-test
2m 44s
e2e-test
11m 8s
Annotations
10 errors and 1 notice
[e2e tests] › tests/external-sources.test.ts:92:3 › External Sources › Create Empty Source and Event Type:
e2e-tests/tests/external-sources.test.ts#L1
1) [e2e tests] › tests/external-sources.test.ts:92:3 › External Sources › Create Empty Source and Event Type
Test timeout of 30000ms exceeded.
|
[e2e tests] › tests/external-sources.test.ts:92:3 › External Sources › Create Empty Source and Event Type:
e2e-tests/tests/external-sources.test.ts#L106
1) [e2e tests] › tests/external-sources.test.ts:92:3 › External Sources › Create Empty Source and Event Type
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for getByRole('button', { name: 'View External Source Type' })
- waiting for" http://localhost:3000/external-sources" navigation to finish...
- navigated to "http://localhost:3000/external-sources/sources"
104 | const sourceType = await externalSourceTypeTable.getByRole('gridcell').filter({ hasText: 'Empty External Source' });
105 | await sourceType.hover();
> 106 | await page.getByRole('button', { name: 'View External Source Type' }).click();
| ^
107 | await expect(page.locator('text="Attribute Schema - Properties"')).toBeVisible();
108 | const sourceTypeAttributes = await page.locator('text="Attribute Schema - Properties"');
109 | await sourceTypeAttributes.click();
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/external-sources.test.ts:106:75
|
[e2e tests] › tests/external-sources.test.ts:92:3 › External Sources › Create Empty Source and Event Type:
e2e-tests/tests/external-sources.test.ts#L1
1) [e2e tests] › tests/external-sources.test.ts:92:3 › External Sources › Create Empty Source and Event Type
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[e2e tests] › tests/external-sources.test.ts:92:3 › External Sources › Create Empty Source and Event Type:
e2e-tests/tests/external-sources.test.ts#L106
1) [e2e tests] › tests/external-sources.test.ts:92:3 › External Sources › Create Empty Source and Event Type
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for getByRole('button', { name: 'View External Source Type' })
104 | const sourceType = await externalSourceTypeTable.getByRole('gridcell').filter({ hasText: 'Empty External Source' });
105 | await sourceType.hover();
> 106 | await page.getByRole('button', { name: 'View External Source Type' }).click();
| ^
107 | await expect(page.locator('text="Attribute Schema - Properties"')).toBeVisible();
108 | const sourceTypeAttributes = await page.locator('text="Attribute Schema - Properties"');
109 | await sourceTypeAttributes.click();
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/external-sources.test.ts:106:75
|
[e2e tests] › tests/external-sources.test.ts:92:3 › External Sources › Create Empty Source and Event Type:
e2e-tests/tests/external-sources.test.ts#L1
1) [e2e tests] › tests/external-sources.test.ts:92:3 › External Sources › Create Empty Source and Event Type
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[e2e tests] › tests/external-sources.test.ts:92:3 › External Sources › Create Empty Source and Event Type:
e2e-tests/tests/external-sources.test.ts#L106
1) [e2e tests] › tests/external-sources.test.ts:92:3 › External Sources › Create Empty Source and Event Type
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for getByRole('button', { name: 'View External Source Type' })
104 | const sourceType = await externalSourceTypeTable.getByRole('gridcell').filter({ hasText: 'Empty External Source' });
105 | await sourceType.hover();
> 106 | await page.getByRole('button', { name: 'View External Source Type' }).click();
| ^
107 | await expect(page.locator('text="Attribute Schema - Properties"')).toBeVisible();
108 | const sourceTypeAttributes = await page.locator('text="Attribute Schema - Properties"');
109 | await sourceTypeAttributes.click();
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/external-sources.test.ts:106:75
|
[e2e tests] › tests/model.test.ts:143:3 › Model › Should successfully save the model changes:
e2e-tests/fixtures/Models.ts#L110
2) [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: 'free_coffee_earwig' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('treegrid').getByRole('row', { name: 'free_coffee_earwig' })
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-activity-presets.test.ts:73:3 › Plan Activity Presets › Setting a preset to a directive should update the parameter values:
e2e-tests/tests/plan-activity-presets.test.ts#L18
3) [e2e tests] › tests/plan-activity-presets.test.ts:73:3 › Plan Activity Presets › Setting a preset to a directive 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-activity-presets.test.ts:18:6
|
[e2e tests] › tests/plan-activity-presets.test.ts:73:3 › Plan Activity Presets › Setting a preset to a directive should update the parameter values:
e2e-tests/fixtures/Plan.ts#L252
3) [e2e tests] › tests/plan-activity-presets.test.ts:73:3 › Plan Activity Presets › Setting a preset to a directive should update the parameter values
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for locator('[data-component-name="ActivityFormPanel"]').getByRole('combobox', { name: 'None' })
at fixtures/Plan.ts:252
250 |
251 | async fillActivityPresetName(presetName: string) {
> 252 | await this.panelActivityForm.getByRole('combobox', { name: 'None' }).click();
| ^
253 | await this.panelActivityForm.locator('.dropdown-header').waitFor({ state: 'attached' });
254 | await this.panelActivityForm.getByPlaceholder('Enter preset name').click();
255 | await this.panelActivityForm.getByPlaceholder('Enter preset name').fill(presetName);
at Plan.fillActivityPresetName (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Plan.ts:252:74)
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-activity-presets.test.ts:49:14
|
e2e-test
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 failed
[e2e tests] › tests/external-sources.test.ts:92:3 › External Sources › Create Empty Source and Event Type
2 flaky
[e2e tests] › tests/model.test.ts:143:3 › Model › Should successfully save the model changes ───
[e2e tests] › tests/plan-activity-presets.test.ts:73:3 › Plan Activity Presets › Setting a preset to a directive should update the parameter values
2 did not run
184 passed (8.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
E2E Test Results
|
27.7 MB |
|
Unit Test Results
|
3.28 MB |
|