Add External Source (and External Event) Attribute Validation #4965
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' })
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' })
- 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:142:3 › External Source Error Handling › Duplicate keys is handled gracefully:
e2e-tests/fixtures/ExternalSources.ts#L251
2) [e2e tests] › tests/external-sources.test.ts:142:3 › External Source Error Handling › Duplicate keys is handled gracefully
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('#external-sources-table').getByRole('gridcell', { name: 'example-external-source.json' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('#external-sources-table').getByRole('gridcell', { name: 'example-external-source.json' })
at fixtures/ExternalSources.ts:251
249 | if (validateUpload) {
250 | await expect(this.externalSourcesTable).toBeVisible();
> 251 | await expect(this.externalSourcesTable.getByRole('gridcell', { name: inputFileName })).toBeVisible();
| ^
252 | }
253 | }
254 |
at ExternalSources.uploadExternalSource (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/ExternalSources.ts:251:94)
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/external-sources.test.ts:148:5
|
[e2e tests] › tests/external-sources.test.ts:142:3 › External Source Error Handling › Duplicate keys is handled gracefully:
e2e-tests/fixtures/ExternalSources.ts#L201
2) [e2e tests] › tests/external-sources.test.ts:142:3 › External Source Error Handling › Duplicate keys is handled gracefully
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Selected External Source')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Selected External Source')
at fixtures/ExternalSources.ts:201
199 | await this.goto();
200 | await this.page.getByRole('gridcell', { name: sourceName }).click();
> 201 | await expect(this.page.getByText('Selected External Source')).toBeVisible();
| ^
202 | }
203 |
204 | async unlinkDerivationGroup(derivationGroupName: string, sourceTypeName: string) {
at ExternalSources.selectSource (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/ExternalSources.ts:201:67)
at ExternalSources.deleteSource (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/ExternalSources.ts:146:7)
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/external-sources.test.ts:165:5
|
[e2e tests] › tests/model.test.ts:143:3 › Model › Should successfully save the model changes:
e2e-tests/fixtures/Models.ts#L110
3) [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: 'qualified_magenta_wren' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('treegrid').getByRole('row', { name: 'qualified_magenta_wren' })
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-external-source.test.ts:83:3 › Plan External Sources › Derivation groups can be linked/unlinked to a plan:
e2e-tests/fixtures/ExternalSources.ts#L97
4) [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
|
🎭 Playwright Run Summary
1 failed
[e2e tests] › tests/external-sources.test.ts:92:3 › External Sources › Create Empty Source and Event Type
3 flaky
[e2e tests] › tests/external-sources.test.ts:142:3 › External Source Error Handling › Duplicate keys is handled gracefully
[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
2 did not run
183 passed (9.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
E2E Test Results
|
41.6 MB |
|
Unit Test Results
|
3.28 MB |
|