Skip to content

feat: Add global shortcut to export logs #3939

feat: Add global shortcut to export logs

feat: Add global shortcut to export logs #3939

Status Failure
Total duration 7m 35s
Artifacts 10

e2e.yml

on: pull_request
Matrix: e2e-tests
merge-reports
8s
merge-reports
e2e-results
0s
e2e-results
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 3 warnings, and 1 notice
e2e-tests (webkit-1-2)
Process completed with exit code 1.
e2e-results
Process completed with exit code 1.
[webkit] › shortcuts.spec.ts:25:5 › shortcut downloads logs in embeded-widget: ../../../../../work/tests/utils.ts#L52
1) [webkit] › shortcuts.spec.ts:25:5 › shortcut downloads logs in embeded-widget ───────────────── Error: expect.not.toBeVisible: Error: strict mode violation: getByRole('progressbar', { name: 'Loading...', exact: true }) resolved to 2 elements: 1) <div aria-valuemin="0" role="progressbar" aria-valuem…></div> aka getByLabel('Loading...').first() 2) <div aria-valuemin="0" role="progressbar" aria-valuem…></div> aka getByLabel('Loading...').nth(1) Call log: - expect.not.toBeVisible with timeout 15000ms - waiting for getByRole('progressbar', { name: 'Loading...', exact: true }) - locator resolved to <div aria-valuemin="0" role="progressbar" aria-valuem…></div> - unexpected value "visible" - locator resolved to <div aria-valuemin="0" role="progressbar" aria-valuem…></div> - unexpected value "visible" - locator resolved to <div aria-valuemin="0" role="progressbar" aria-valuem…></div> - unexpected value "visible" - locator resolved to <div aria-valuemin="0" role="progressbar" aria-valuem…></div> - unexpected value "visible" - locator resolved to <div aria-valuemin="0" role="progressbar" aria-valuem…></div> - unexpected value "visible" - locator resolved to <div aria-valuemin="0" role="progressbar" aria-valuem…></div> - unexpected value "visible" - locator resolved to <div aria-valuemin="0" role="progressbar" aria-valuem…></div> - unexpected value "visible" at utils.ts:52 50 | await expect( 51 | page.getByRole('progressbar', { name: 'Loading...', exact: true }) > 52 | ).not.toBeVisible(); | ^ 53 | } 54 | 55 | /** at gotoPage (/work/tests/utils.ts:52:9) at /work/tests/shortcuts.spec.ts:26:3
[webkit] › shortcuts.spec.ts:25:5 › shortcut downloads logs in embeded-widget: ../../../../../work/tests/utils.ts#L52
1) [webkit] › shortcuts.spec.ts:25:5 › shortcut downloads logs in embeded-widget ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect.not.toBeVisible: Error: strict mode violation: getByRole('progressbar', { name: 'Loading...', exact: true }) resolved to 2 elements: 1) <div aria-valuemin="0" role="progressbar" aria-valuem…></div> aka getByLabel('Loading...').first() 2) <div aria-valuemin="0" role="progressbar" aria-valuem…></div> aka getByLabel('Loading...').nth(1) Call log: - expect.not.toBeVisible with timeout 15000ms - waiting for getByRole('progressbar', { name: 'Loading...', exact: true }) - locator resolved to <div aria-valuemin="0" role="progressbar" aria-valuem…></div> - unexpected value "visible" at utils.ts:52 50 | await expect( 51 | page.getByRole('progressbar', { name: 'Loading...', exact: true }) > 52 | ).not.toBeVisible(); | ^ 53 | } 54 | 55 | /** at gotoPage (/work/tests/utils.ts:52:9) at /work/tests/shortcuts.spec.ts:26:3
[chromium] › table-multiselect.spec.ts:77:7 › select bool filters: ../../../../../work/tests/utils.ts#L330
2) [chromium] › table-multiselect.spec.ts:77:7 › select bool filters ───────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.context-menu-container') Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 15000ms - waiting for locator('.context-menu-container') - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" at utils.ts:330 328 | count: number 329 | ): Promise<void> { > 330 | await expect(page.locator('.context-menu-container')).toHaveCount(count); | ^ 331 | await expect(page.locator('.loading-spinner')).toHaveCount(0); 332 | } 333 | at expectContextMenus (/work/tests/utils.ts:330:57) at /work/tests/table-multiselect.spec.ts:88:29
[chromium] › table-multiselect.spec.ts:104:7 › multiselect string filters: ../../../../../work/tests/table-multiselect.spec.ts#L59
3) [chromium] › table-multiselect.spec.ts:104:7 › multiselect string filters › Filter is › Apply filter Error: Screenshot comparison failed: 776 pixels (ratio 0.01 of all image pixels) are different. Expected: /work/tests/table-multiselect.spec.ts-snapshots/string-1-is-chromium-linux.png Received: /work/test-results/table-multiselect-multiselect-string-filters-chromium/string-1-is-actual.png Diff: /work/test-results/table-multiselect-multiselect-string-filters-chromium/string-1-is-diff.png Call log: - expect.toHaveScreenshot(string-1-is.png) with timeout 15000ms - verifying given screenshot expectation - waiting for locator('.iris-grid-column') - locator resolved to <div class="iris-grid-column">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 776 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.iris-grid-column') - locator resolved to <div class="iris-grid-column">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 776 pixels (ratio 0.01 of all image pixels) are different. 57 | await page.getByRole('button', { name: filterType, exact: true }).click(); 58 | await waitForLoadingDone(page, '.iris-grid-loading-status-bar'); > 59 | await expect(page.locator('.iris-grid-column')).toHaveScreenshot( | ^ 60 | screenshotName 61 | ); 62 | }); at /work/tests/table-multiselect.spec.ts:59:53 at filterAndScreenshot (/work/tests/table-multiselect.spec.ts:54:3) at /work/tests/table-multiselect.spec.ts:121:9 at /work/tests/table-multiselect.spec.ts:120:7
[firefox] › table-multiselect.spec.ts:77:7 › select null filters: ../../../../../work/tests/utils.ts#L330
4) [firefox] › table-multiselect.spec.ts:77:7 › select null filters ────────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.context-menu-container') Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 15000ms - waiting for locator('.context-menu-container') - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" at utils.ts:330 328 | count: number 329 | ): Promise<void> { > 330 | await expect(page.locator('.context-menu-container')).toHaveCount(count); | ^ 331 | await expect(page.locator('.loading-spinner')).toHaveCount(0); 332 | } 333 | at expectContextMenus (/work/tests/utils.ts:330:57) at /work/tests/table-multiselect.spec.ts:88:29
[firefox] › table-multiselect.spec.ts:77:7 › select empty filters: ../../../../../work/tests/utils.ts#L330
5) [firefox] › table-multiselect.spec.ts:77:7 › select empty filters ───────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.context-menu-container') Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 15000ms - waiting for locator('.context-menu-container') - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" at utils.ts:330 328 | count: number 329 | ): Promise<void> { > 330 | await expect(page.locator('.context-menu-container')).toHaveCount(count); | ^ 331 | await expect(page.locator('.loading-spinner')).toHaveCount(0); 332 | } 333 | at expectContextMenus (/work/tests/utils.ts:330:57) at /work/tests/table-multiselect.spec.ts:88:29
Slow Test: [webkit] › notebook.spec.ts#L1
[webkit] › notebook.spec.ts took 40.0s
Slow Test: [webkit] › lazy-loading.spec.ts#L1
[webkit] › lazy-loading.spec.ts took 27.3s
Slow Test: [webkit] › figure.spec.ts#L1
[webkit] › figure.spec.ts took 23.4s
🎭 Playwright Run Summary
1 failed [webkit] › shortcuts.spec.ts:25:5 › shortcut downloads logs in embeded-widget ────────────────── 4 flaky [chromium] › table-multiselect.spec.ts:77:7 › select bool filters ────────────────────────────── [chromium] › table-multiselect.spec.ts:104:7 › multiselect string filters ────────────────────── [firefox] › table-multiselect.spec.ts:77:7 › select null filters ─────────────────────────────── [firefox] › table-multiselect.spec.ts:77:7 › select empty filters ────────────────────────────── 313 passed (5.1m)

Artifacts

Produced during runtime
Name Size
playwright-report
28.9 MB
playwright-report-blob-webkit-1-2 Expired
2.63 MB
server-logs-webkit-1-2
7.66 KB