Skip to content

Add the JupyterLab resources plugin #1655

Add the JupyterLab resources plugin

Add the JupyterLab resources plugin #1655

Triggered via pull request October 27, 2023 18:29
Status Failure
Total duration 20m 54s
Artifacts 8

ui-tests.yml

on: pull_request
Matrix: ui-tests
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 4 notices
[firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file: ui-tests/test/filebrowser.spec.ts#L39
1) [firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file ──────────────────── Error: expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('navigation').getByText('Open') 37 | 38 | ['Rename', 'Delete', 'Open', 'Download', 'Delete'].forEach(async (text) => { > 39 | expect(toolbar.getByText(text)).toBeVisible(); | ^ 40 | }); 41 | }); 42 | at forEach (/home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:39:39) at /home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:38:56
[firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item Help: ui-tests/test/menus.spec.ts#L47
1) [firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item Help ──────────────────── Error: Screenshot comparison failed: Expected an image 416px by 171px, received 416px by 486px. 4311 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-Help-firefox/opened-menu-help-expected.png Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-Help-firefox/opened-menu-help-actual.png Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-Help-firefox/opened-menu-help-diff.png 45 | const menu = await page.menu.getOpenMenu(); 46 | expect(menu).toBeDefined(); > 47 | expect(await menu?.screenshot()).toMatchSnapshot(imageName.toLowerCase()); | ^ 48 | }); 49 | }); 50 | }); at /home/runner/work/notebook/notebook/ui-tests/test/menus.spec.ts:47:40
[firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item Help: ui-tests/test/menus.spec.ts#L47
1) [firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item Help ──────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: Expected an image 416px by 171px, received 416px by 486px. 4311 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-Help-firefox-retry1/opened-menu-help-expected.png Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-Help-firefox-retry1/opened-menu-help-actual.png Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-Help-firefox-retry1/opened-menu-help-diff.png 45 | const menu = await page.menu.getOpenMenu(); 46 | expect(menu).toBeDefined(); > 47 | expect(await menu?.screenshot()).toMatchSnapshot(imageName.toLowerCase()); | ^ 48 | }); 49 | }); 50 | }); at /home/runner/work/notebook/notebook/ui-tests/test/menus.spec.ts:47:40
[firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file: ui-tests/test/filebrowser.spec.ts#L39
2) [firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file ──────────────────── Error: expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('navigation').getByText('Download') 37 | 38 | ['Rename', 'Delete', 'Open', 'Download', 'Delete'].forEach(async (text) => { > 39 | expect(toolbar.getByText(text)).toBeVisible(); | ^ 40 | }); 41 | }); 42 | at forEach (/home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:39:39) at /home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:38:56
ui-tests (firefox)
Process completed with exit code 1.
[chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory: ui-tests/test/links.spec.ts#L1
1) [chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory ─────────────── Test timeout of 60000ms exceeded.
[chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory: ui-tests/test/links.spec.ts#L25
1) [chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory ─────────────── Error: proxy.waitForEvent: Page closed =========================== logs =========================== waiting for event "popup" ============================================================ 23 | 24 | const [current] = await Promise.all([ > 25 | page.waitForEvent('popup'), | ^ 26 | page.getByText('Current Directory').last().click(), 27 | ]); 28 | at /home/runner/work/notebook/notebook/ui-tests/test/links.spec.ts:25:12
[chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory: ui-tests/test/links.spec.ts#L1
1) [chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory ─────────────── Pending operations: - locator.click at test/links.spec.ts:26:50
[chromium] › test/editor.spec.ts:53:7 › Editor › Renaming the file via the menu entry: ui-tests/test/editor.spec.ts#L1
1) [chromium] › test/editor.spec.ts:53:7 › Editor › Renaming the file via the menu entry ───────── Test timeout of 60000ms exceeded.
[chromium] › test/editor.spec.ts:53:7 › Editor › Renaming the file via the menu entry: ui-tests/test/editor.spec.ts#L23
1) [chromium] › test/editor.spec.ts:53:7 › Editor › Renaming the file via the menu entry ───────── Error: proxy.waitForNavigation: Navigation failed because page was closed! =========================== logs =========================== waiting for navigation until "load" ============================================================ 21 | await page.click('text="Rename"'), 22 | // wait until the URL is updated > 23 | await page.waitForNavigation(), | ^ 24 | ]); 25 | }; 26 | at processRenameDialog (/home/runner/work/notebook/notebook/ui-tests/test/editor.spec.ts:23:16) at /home/runner/work/notebook/notebook/ui-tests/test/editor.spec.ts:63:5
[chromium] › test/editor.spec.ts:53:7 › Editor › Renaming the file via the menu entry: ui-tests/test/editor.spec.ts#L1
1) [chromium] › test/editor.spec.ts:53:7 › Editor › Renaming the file via the menu entry ───────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
[chromium] › test/editor.spec.ts:53:7 › Editor › Renaming the file via the menu entry: ui-tests/test/editor.spec.ts#L23
1) [chromium] › test/editor.spec.ts:53:7 › Editor › Renaming the file via the menu entry ───────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: proxy.waitForNavigation: Navigation failed because page was closed! =========================== logs =========================== waiting for navigation until "load" ============================================================ 21 | await page.click('text="Rename"'), 22 | // wait until the URL is updated > 23 | await page.waitForNavigation(), | ^ 24 | ]); 25 | }; 26 | at processRenameDialog (/home/runner/work/notebook/notebook/ui-tests/test/editor.spec.ts:23:16) at /home/runner/work/notebook/notebook/ui-tests/test/editor.spec.ts:63:5
[chromium] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item Help: ui-tests/test/menus.spec.ts#L47
2) [chromium] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item Help ─────────────────── Error: Screenshot comparison failed: Expected an image 416px by 171px, received 416px by 486px. 4296 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-Help-chromium/opened-menu-help-expected.png Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-Help-chromium/opened-menu-help-actual.png Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-Help-chromium/opened-menu-help-diff.png 45 | const menu = await page.menu.getOpenMenu(); 46 | expect(menu).toBeDefined(); > 47 | expect(await menu?.screenshot()).toMatchSnapshot(imageName.toLowerCase()); | ^ 48 | }); 49 | }); 50 | }); at /home/runner/work/notebook/notebook/ui-tests/test/menus.spec.ts:47:40
[chromium] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item Help: ui-tests/test/menus.spec.ts#L47
2) [chromium] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item Help ─────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: Expected an image 416px by 171px, received 416px by 486px. 4296 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-Help-chromium-retry1/opened-menu-help-expected.png Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-Help-chromium-retry1/opened-menu-help-actual.png Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-Help-chromium-retry1/opened-menu-help-diff.png 45 | const menu = await page.menu.getOpenMenu(); 46 | expect(menu).toBeDefined(); > 47 | expect(await menu?.screenshot()).toMatchSnapshot(imageName.toLowerCase()); | ^ 48 | }); 49 | }); 50 | }); at /home/runner/work/notebook/notebook/ui-tests/test/menus.spec.ts:47:40
[chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory: ui-tests/test/links.spec.ts#L1
3) [chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory ─────────────── Test timeout of 60000ms exceeded.
[chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory: ui-tests/test/links.spec.ts#L25
3) [chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory ─────────────── Error: proxy.waitForEvent: Page closed =========================== logs =========================== waiting for event "popup" ============================================================ 23 | 24 | const [current] = await Promise.all([ > 25 | page.waitForEvent('popup'), | ^ 26 | page.getByText('Current Directory').last().click(), 27 | ]); 28 | at /home/runner/work/notebook/notebook/ui-tests/test/links.spec.ts:25:12
[chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory: ui-tests/test/links.spec.ts#L1
3) [chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory ─────────────── Pending operations: - locator.click at test/links.spec.ts:26:50
ui-tests (chromium)
Process completed with exit code 1.
🎭 Playwright Run Summary
1 flaky [firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file ───────────────────── 34 passed (3.8m)
🎭 Playwright Run Summary
1 failed [firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item Help ───────────────────── 1 flaky [firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file ───────────────────── 33 passed (4.1m)
🎭 Playwright Run Summary
1 flaky [chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory ──────────────── 34 passed (4.5m)
🎭 Playwright Run Summary
2 failed [chromium] › test/editor.spec.ts:53:7 › Editor › Renaming the file via the menu entry ────────── [chromium] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item Help ──────────────────── 1 flaky [chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory ──────────────── 32 passed (6.7m)

Artifacts

Produced during runtime
Name Size
notebook-chromium-test-assets Expired
5.7 MB
notebook-chromium-test-report Expired
7.14 MB
notebook-chromium-updated-snapshots Expired
443 KB
notebook-dist-1655 Expired
9.3 MB
notebook-firefox-test-assets Expired
2.13 MB
notebook-firefox-test-report Expired
3.58 MB
notebook-firefox-updated-snapshots Expired
473 KB
notebook-pkgs-1655 Expired
53.6 KB