Skip to content

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

Add External Source (and External Event) Attribute Validation

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

Triggered via pull request January 29, 2025 19:38
Status Failure
Total duration 11m 39s
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" 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/fixtures/ExternalSources.ts#L126
1) [e2e tests] › tests/external-sources.test.ts:92:3 › External Sources › Create Empty Source and Event Type Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible() Locator: locator('.external-event-type-table').getByRole('row', { name: 'ExampleEvent' }) Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for locator('.external-event-type-table').getByRole('row', { name: 'ExampleEvent' }) 9 × locator resolved to <div role="row" comp-id="196" tabindex="-1" row-index="1" aria-rowindex="3" aria-selected="false" row-id="ExampleEvent" class="ag-row-odd ag-row-not-inline-editing ag-row ag-row-level-0 ag-selectable-row ag-row-position-absolute ag-row-last ag-row-focus">…</div> - unexpected value "visible" at fixtures/ExternalSources.ts:126 124 | .click(); 125 | await this.page.getByRole('button', { exact: true, name: 'Delete' }).click(); > 126 | await expect(externalEventTypeTable.getByRole('row', { name: eventTypeName })).not.toBeVisible(); | ^ 127 | } 128 | } 129 | at ExternalSources.deleteExternalEventType (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/ExternalSources.ts:126:90) at /home/runner/work/***-ui/***-ui/e2e-tests/tests/external-sources.test.ts:21:3
[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: Test ended. 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: 'determined_silver_python' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('treegrid').getByRole('row', { name: 'determined_silver_python' }) 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:108:3 › Plan External Sources › External event types can be added to the timeline: e2e-tests/tests/plan-external-source.test.ts#L120
3) [e2e tests] › tests/plan-external-source.test.ts:108:3 › Plan External Sources › External event types can be added to the timeline Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.list-item').getByText('ExampleEvent') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.list-item').getByText('ExampleEvent') 118 | await plan.showPanel(PanelNames.TIMELINE_ITEMS); 119 | await page.getByRole('button', { exact: true, name: 'Events' }).click(); > 120 | await expect(page.locator('.list-item').getByText(externalSources.exampleEventType)).toBeVisible(); | ^ 121 | await page.locator('.list-item').getByText(externalSources.exampleEventType).first().hover(); 122 | await page.getByLabel(`AddExternalevent-${externalSources.exampleEventType}`).click(); 123 | await page at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-external-source.test.ts:120:90
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-external-source.test.ts:108:3 › Plan External Sources › External event types can be added to the timeline 2 did not run 184 passed (8.6m)

Artifacts

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