Add External Source (and External Event) Attribute Validation #4954
Annotations
10 errors and 1 notice
Test (e2e):
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.
|
Test (e2e):
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
|
Test (e2e):
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.
|
Test (e2e):
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
|
Test (e2e):
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.
|
Test (e2e):
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' })
- waiting for" http://localhost:3000/external-sources" navigation to finish...
- navigated to "http://localhost:3000/external-sources/sources"
- waiting for" http://localhost:3000/external-sources/types" navigation to finish...
- navigated to "http://localhost:3000/external-sources/types"
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
|
Test (e2e):
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: 'doubtful_teal_marmoset' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('treegrid').getByRole('row', { name: 'doubtful_teal_marmoset' })
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
|
Test (e2e):
e2e-tests/fixtures/ExternalSources.ts#L97
3) [e2e tests] › tests/plan-external-source.test.ts:83:3 › Plan External Sources › Derivation groups can be linked/unlinked to a plan
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.external-source-type-table').getByRole('gridcell', { name: 'Example External Source' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.external-source-type-table').getByRole('gridcell', { name: 'Example External Source' })
at fixtures/ExternalSources.ts:97
95 |
96 | for (const expectedSourceType of expectedSourceTypes) {
> 97 | await expect(externalSourceTypeTable.getByRole('gridcell', { name: expectedSourceType })).toBeVisible();
| ^
98 | }
99 | for (const expectedEventType of expectedEventTypes) {
100 | await expect(externalEventTypeTable.getByRole('gridcell', { name: expectedEventType })).toBeVisible();
at ExternalSources.createTypes (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/ExternalSources.ts:97:97)
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-external-source.test.ts:42:3
|
Test (e2e):
e2e-tests/tests/plan-external-source.test.ts#L50
3) [e2e tests] › tests/plan-external-source.test.ts:83:3 › Plan External Sources › Derivation groups can be linked/unlinked to a plan
"afterAll" hook timeout of 30000ms exceeded.
48 | });
49 |
> 50 | test.afterAll(async () => {
| ^
51 | await plans.goto();
52 | await plans.deletePlan();
53 | await models.goto();
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-external-source.test.ts:50:6
|
Test (e2e):
e2e-tests/fixtures/ExternalSources.ts#L112
3) [e2e tests] › tests/plan-external-source.test.ts:83:3 › Plan External Sources › Derivation groups can be linked/unlinked to a plan
Error: locator.click: Test ended.
Call log:
- waiting for getByRole('button', { name: 'Delete', exact: true })
at fixtures/ExternalSources.ts:112
110 | .getByLabel('Delete Derivation Group')
111 | .click();
> 112 | await this.page.getByRole('button', { exact: true, name: 'Delete' }).click();
| ^
113 | await expect(derivationGroupTable.getByRole('row', { name: derivationGroupName })).not.toBeVisible();
114 | }
115 | }
at ExternalSources.deleteDerivationGroup (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/ExternalSources.ts:112:76)
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-external-source.test.ts:64:3
|
Test (e2e)
1 failed
[e2e tests] › tests/external-sources.test.ts:92:3 › External Sources › Create Empty Source and Event Type
3 flaky
[e2e tests] › tests/model.test.ts:143:3 › Model › Should successfully save the model changes ───
[e2e tests] › tests/plan-external-source.test.ts:83:3 › Plan External Sources › Derivation groups can be linked/unlinked to a plan
[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
2 did not run
183 passed (8.8m)
|
Loading