Skip to content

Add External Source (and External Event) Attribute Validation #4961

Add External Source (and External Event) Attribute Validation

Add External Source (and External Event) Attribute Validation #4961

Triggered via pull request January 29, 2025 19:29
Status Failure
Total duration 12m 48s
Artifacts 2

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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/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
[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' }) - 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 #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/external-sources.test.ts:142:3 › External Source Error Handling › Duplicate keys is handled gracefully: e2e-tests/fixtures/ExternalSources.ts#L149
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).not.toBeVisible() Locator: locator('#external-sources-table').getByText('example-external-source.json') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for locator('#external-sources-table').getByText('example-external-source.json') 9 × locator resolved to <div comp-id="87" col-id="key" role="gridcell" aria-colindex="1" class="ag-cell-value ag-cell ag-cell-not-inline-editing ag-cell-normal-height ag-column-first">ExampleExternalSource:example-external-source.json</div> - unexpected value "visible" at fixtures/ExternalSources.ts:149 147 | await this.deleteSourceButton.click(); 148 | await this.deleteSourceButtonConfirmation.click(); > 149 | await expect(this.externalSourcesTable.getByText(sourceName)).not.toBeVisible(); | ^ 150 | } 151 | } 152 | at ExternalSources.deleteSource (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/ExternalSources.ts:149:73) at /home/runner/work/***-ui/***-ui/e2e-tests/tests/external-sources.test.ts:165:5
[e2e tests] › tests/external-sources.test.ts:142:3 › External Source Error Handling › Duplicate keys is handled gracefully: e2e-tests/tests/external-sources.test.ts#L15
2) [e2e tests] › tests/external-sources.test.ts:142:3 › External Source Error Handling › Duplicate keys is handled gracefully "afterAll" hook timeout of 30000ms exceeded. 13 | }); 14 | > 15 | test.afterAll(async () => { | ^ 16 | await externalSources.goto(); 17 | await externalSources.deleteSource(externalSources.externalSourceFileName); 18 | await externalSources.gotoTypeManager(); at /home/runner/work/***-ui/***-ui/e2e-tests/tests/external-sources.test.ts:15:6
[e2e tests] › tests/external-sources.test.ts:142:3 › External Source Error Handling › Duplicate keys is handled gracefully: e2e-tests/fixtures/ExternalSources.ts#L112
2) [e2e tests] › tests/external-sources.test.ts:142:3 › External Source Error Handling › Duplicate keys is handled gracefully 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/external-sources.test.ts:19:3
[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: 'hissing_ivory_pig' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('treegrid').getByRole('row', { name: 'hissing_ivory_pig' }) 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
🎭 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/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 ─── 2 did not run 184 passed (8.4m)

Artifacts

Produced during runtime
Name Size
E2E Test Results
22.5 MB
Unit Test Results
3.28 MB