Skip to content

Support custom page_data_hook function #2052

Support custom page_data_hook function

Support custom page_data_hook function #2052

Re-run triggered May 31, 2024 07:19
Status Failure
Total duration 6m 47s
Artifacts 13

ui-tests.yml

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

Annotations

11 errors and 3 notices
[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: Test timeout of 60000ms exceeded. =========================== 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
[firefox] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page: ui-tests/test/settings.spec.ts#L1
1) [firefox] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page Test timeout of 60000ms exceeded.
[firefox] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page: ui-tests/test/settings.spec.ts#L34
1) [firefox] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page Error: page.reload: Test timeout of 60000ms exceeded. Call log: - waiting for navigation until "networkidle" - navigated to "http://localhost:8888/tree/settings" 32 | await page.menu.clickMenuItem(showHeaderPath); 33 | await page.waitForSelector('#top-panel', { state: 'hidden' }); > 34 | await page.reload({ waitUntil: 'networkidle' }); | ^ 35 | await page.menu.getMenuItem(showHeaderPath); 36 | expect(await page.screenshot()).toMatchSnapshot('top-hidden.png'); 37 | at Proxy.reload (/home/runner/work/notebook/notebook/ui-tests/node_modules/@jupyterlab/galata/src/jupyterlabpage.ts:553:38) at /home/runner/work/notebook/notebook/ui-tests/test/settings.spec.ts:34:16
[firefox] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page: ui-tests/test/settings.spec.ts#L1
1) [firefox] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
[firefox] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page: ui-tests/test/settings.spec.ts#L41
1) [firefox] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.reload: Test timeout of 60000ms exceeded. Call log: - waiting for navigation until "networkidle" - navigated to "http://localhost:8888/tree/settings" 39 | await page.menu.clickMenuItem(showHeaderPath); 40 | await page.waitForSelector('#top-panel', { state: 'visible' }); > 41 | await page.reload({ waitUntil: 'networkidle' }); | ^ 42 | await page.menu.getMenuItem(showHeaderPath); 43 | expect(await page.screenshot()).toMatchSnapshot('top-visible.png'); 44 | }); at Proxy.reload (/home/runner/work/notebook/notebook/ui-tests/node_modules/@jupyterlab/galata/src/jupyterlabpage.ts:553:38) at /home/runner/work/notebook/notebook/ui-tests/test/settings.spec.ts:41:16
ui-tests (firefox)
Process completed with exit code 1.
[firefox] › test/mobile.spec.ts:41:7 › Mobile › The layout should be more compact on the notebook page: ui-tests/test/mobile.spec.ts#L71
1) [firefox] › test/mobile.spec.ts:41:7 › Mobile › The layout should be more compact on the notebook page Error: Screenshot comparison failed: 300 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/notebook/notebook/ui-tests/test/mobile.spec.ts-snapshots/notebook-firefox-linux.png Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-mobile-Mobile-The-lay-36afb-ompact-on-the-notebook-page-firefox/notebook-actual.png Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-mobile-Mobile-The-lay-36afb-ompact-on-the-notebook-page-firefox/notebook-diff.png 69 | } 70 | > 71 | expect(await notebook.screenshot()).toMatchSnapshot('notebook.png'); | ^ 72 | await notebook.close(); 73 | }); 74 | }); at /home/runner/work/notebook/notebook/ui-tests/test/mobile.spec.ts:71:41
[firefox] › test/mobile.spec.ts:41:7 › Mobile › The layout should be more compact on the notebook page: ui-tests/test/mobile.spec.ts#L71
1) [firefox] › test/mobile.spec.ts:41:7 › Mobile › The layout should be more compact on the notebook page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 300 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/notebook/notebook/ui-tests/test/mobile.spec.ts-snapshots/notebook-firefox-linux.png Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-mobile-Mobile-The-lay-36afb-ompact-on-the-notebook-page-firefox-retry1/notebook-actual.png Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-mobile-Mobile-The-lay-36afb-ompact-on-the-notebook-page-firefox-retry1/notebook-diff.png 69 | } 70 | > 71 | expect(await notebook.screenshot()).toMatchSnapshot('notebook.png'); | ^ 72 | await notebook.close(); 73 | }); 74 | }); at /home/runner/work/notebook/notebook/ui-tests/test/mobile.spec.ts:71:41
[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(locator).toBeVisible() Locator: getByRole('toolbar').getByText('Download') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('toolbar').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.
🎭 Playwright Run Summary
1 flaky [chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory ──────────────── 34 passed (2.1m)
🎭 Playwright Run Summary
1 failed [firefox] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page 34 passed (3.3m)
🎭 Playwright Run Summary
1 failed [firefox] › test/mobile.spec.ts:41:7 › Mobile › The layout should be more compact on the notebook page 1 flaky [firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file ───────────────────── 33 passed (2.1m)

Artifacts

Produced during runtime
Name Size
notebook-firefox-test-assets Expired
1.85 MB
notebook-firefox-test-report Expired
2.47 MB
notebook-firefox-updated-snapshots Expired
341 KB