Skip to content

Update to JupyterLab 4.3.0rc1 #2162

Update to JupyterLab 4.3.0rc1

Update to JupyterLab 4.3.0rc1 #2162

Re-run triggered October 24, 2024 07:12
Status Failure
Total duration 5m 49s
Artifacts 14

ui-tests.yml

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

Annotations

15 errors and 4 notices
[chromium] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered: ui-tests/test/notebook.spec.ts#L1
1) [chromium] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered ───────────────── Error: "apiRequestContext.fetch: Target page, context or browser has been closed Call log: - → POST http://localhost:8888/api/sessions?1729754219005 - user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/130.0.6723.31 Safari/537.36 - accept: */* - accept-encoding: gzip,deflate,br - accept-language: en-US - content-type: text/plain;charset=UTF-8 - cookie: username-localhost-8888=2|1:0|10:1729754216|23:username-localhost-8888|188:eyJ1c2VybmFtZSI6ICI5YzgwNTQ1NDcxMzA0ODI1YTZjYWE2N2YyZmEzYWQ0YSIsICJuYW1lIjogIkFub255bW91cyBMZWRhIiwgImRpc3BsYXlfbmFtZSI6ICJBbm9ueW1vdXMgTGVkYSIsICJpbml0aWFscyI6ICJBTCIsICJjb2xvciI6IG51bGx9|210940de4b2f67675b05bde99b409581ad2b3bc283ac2603f5d5a822ccd2b0b7; _xsrf=2|0e2e882c|873542edab4869f9b92e1ad56d1b565b|1729754216 - origin: http://localhost:8888 - referer: http://localhost:8888/notebooks/test-notebook-Notebook-Title-should-be-rendered-chromium/example.ipynb - x-xsrftoken: 2|0e2e882c|873542edab4869f9b92e1ad56d1b565b|1729754216 - sec-ch-ua: "Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99" - sec-ch-ua-mobile: ?0 - sec-ch-ua-platform: "Linux" - content-length: 173 " while running route callback. Consider awaiting `await page.unrouteAll({ behavior: 'ignoreErrors' })` before the end of the test to ignore remaining routes in flight. at /home/runner/work/notebook/notebook/ui-tests/node_modules/@jupyterlab/galata/src/galata.ts:961:49
[chromium] › test/mobile.spec.ts:30:7 › Mobile › The layout should be more compact on the file browser page: ui-tests/test/mobile.spec.ts#L38
1) [chromium] › test/mobile.spec.ts:30:7 › Mobile › The layout should be more compact on the file browser page Error: Screenshot comparison failed: 440 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/notebook/notebook/ui-tests/test/mobile.spec.ts-snapshots/tree-chromium-linux.png Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-mobile-Mobile-The-lay-60036-ct-on-the-file-browser-page-chromium/tree-actual.png Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-mobile-Mobile-The-lay-60036-ct-on-the-file-browser-page-chromium/tree-diff.png 36 | await page.waitForSelector('#top-panel-wrapper', { state: 'hidden' }); 37 | > 38 | expect(await page.screenshot()).toMatchSnapshot('tree.png', { | ^ 39 | maxDiffPixels: 300, 40 | }); 41 | }); at /home/runner/work/notebook/notebook/ui-tests/test/mobile.spec.ts:38:37
[chromium] › test/mobile.spec.ts:30:7 › Mobile › The layout should be more compact on the file browser page: ui-tests/test/mobile.spec.ts#L38
1) [chromium] › test/mobile.spec.ts:30:7 › Mobile › The layout should be more compact on the file browser page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 440 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/notebook/notebook/ui-tests/test/mobile.spec.ts-snapshots/tree-chromium-linux.png Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-mobile-Mobile-The-lay-60036-ct-on-the-file-browser-page-chromium-retry1/tree-actual.png Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-mobile-Mobile-The-lay-60036-ct-on-the-file-browser-page-chromium-retry1/tree-diff.png 36 | await page.waitForSelector('#top-panel-wrapper', { state: 'hidden' }); 37 | > 38 | expect(await page.screenshot()).toMatchSnapshot('tree.png', { | ^ 39 | maxDiffPixels: 300, 40 | }); 41 | }); at /home/runner/work/notebook/notebook/ui-tests/test/mobile.spec.ts:38:37
[chromium] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page: ui-tests/test/settings.spec.ts#L36
2) [chromium] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page Error: Screenshot comparison failed: 476 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/notebook/notebook/ui-tests/test/settings.spec.ts-snapshots/top-hidden-chromium-linux.png Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-settings-Settings-Sho-cda2b-ed-after-reloading-the-page-chromium/top-hidden-actual.png Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-settings-Settings-Sho-cda2b-ed-after-reloading-the-page-chromium/top-hidden-diff.png 34 | await page.reload({ waitUntil: 'networkidle' }); 35 | await page.menu.getMenuItem(showHeaderPath); > 36 | expect(await page.screenshot()).toMatchSnapshot('top-hidden.png', { | ^ 37 | maxDiffPixels: 300, 38 | }); 39 | at /home/runner/work/notebook/notebook/ui-tests/test/settings.spec.ts:36:37
[chromium] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page: ui-tests/test/settings.spec.ts#L36
2) [chromium] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 461 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/notebook/notebook/ui-tests/test/settings.spec.ts-snapshots/top-hidden-chromium-linux.png Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-settings-Settings-Sho-cda2b-ed-after-reloading-the-page-chromium-retry1/top-hidden-actual.png Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-settings-Settings-Sho-cda2b-ed-after-reloading-the-page-chromium-retry1/top-hidden-diff.png 34 | await page.reload({ waitUntil: 'networkidle' }); 35 | await page.menu.getMenuItem(showHeaderPath); > 36 | expect(await page.screenshot()).toMatchSnapshot('top-hidden.png', { | ^ 37 | maxDiffPixels: 300, 38 | }); 39 | at /home/runner/work/notebook/notebook/ui-tests/test/settings.spec.ts:36:37
ui-tests (chromium)
Process completed with exit code 1.
[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(locator).toBeVisible() Locator: getByRole('toolbar').getByText('Delete') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('toolbar').getByText('Delete') 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/filebrowser.spec.ts:43:7 › File Browser › Select files and folders: ui-tests/test/filebrowser.spec.ts#L54
2) [firefox] › test/filebrowser.spec.ts:43:7 › File Browser › Select files and folders ─────────── Error: expect(locator).toBeHidden() Locator: getByRole('toolbar').getByText('Open') Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 5000ms - waiting for getByRole('toolbar').getByText('Open') 52 | 53 | expect(toolbar.getByText('Rename')).toBeHidden(); > 54 | expect(toolbar.getByText('Open')).toBeHidden(); | ^ 55 | expect(toolbar.getByText('Delete')).toBeVisible(); 56 | }); 57 | at /home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:54:39
[firefox] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered: ui-tests/test/notebook.spec.ts#L1
3) [firefox] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered ────────────────── Error: "apiRequestContext.fetch: Target page, context or browser has been closed Call log: - → POST http://localhost:8888/api/sessions?1729754247597 - user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0 - accept: */* - accept-encoding: gzip, deflate, br, zstd - host: localhost:8888 - accept-language: en-US - content-type: text/plain;charset=UTF-8 - content-length: 172 - referer: http://localhost:8888/notebooks/test-notebook-Notebook-Title-should-be-rendered-firefox/example.ipynb - x-xsrftoken: 2|b5872b66|779e239b15c0fceb241594b9054cd0dc|1729754245 - origin: http://localhost:8888 - sec-fetch-dest: empty - sec-fetch-mode: cors - sec-fetch-site: same-origin - connection: keep-alive - cookie: username-localhost-8888="2|1:0|10:1729754244|23:username-localhost-8888|184:eyJ1c2VybmFtZSI6ICJkOTdjMWU2ZDgyOTI0NmI5YTUyOGE0OGE0YmJmMjljNiIsICJuYW1lIjogIkFub255bW91cyBJbyIsICJkaXNwbGF5X25hbWUiOiAiQW5vbnltb3VzIElvIiwgImluaXRpYWxzIjogIkFJIiwgImNvbG9yIjogbnVsbH0=|e531e65ca48bdcda4f96cd9b9cd8a70a34448a66dcc64131e94752d949df3452"; _xsrf=2|b5872b66|779e239b15c0fceb241594b9054cd0dc|1729754245 " while running route callback. Consider awaiting `await page.unrouteAll({ behavior: 'ignoreErrors' })` before the end of the test to ignore remaining routes in flight. at /home/runner/work/notebook/notebook/ui-tests/node_modules/@jupyterlab/galata/src/galata.ts:961:49
[firefox] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered: ui-tests/test/notebook.spec.ts#L1
3) [firefox] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered ────────────────── Error: Test ended. Browser logs: [pid=8998][err] JavaScript error: http://localhost:8888/static/notebook/5573.bundle.js, line 1: TypeError: s is undefined [pid=8998][err] JavaScript error: resource:///modules/SearchModeSwitcher.sys.mjs, line 254: TypeError: engine is null [pid=8998][err] JavaScript error: http://localhost:8888/static/notebook/5573.bundle.js, line 1: TypeError: s is undefined [pid=8998][err] JavaScript error: chrome://juggler/content/Helper.js, line 82: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebProgress.removeProgressListener] [pid=8998][err] JavaScript error: resource:///modules/SearchModeSwitcher.sys.mjs, line 254: TypeError: engine is null [pid=8998][err] JavaScript error: resource://gre/modules/SearchEngineSelector.sys.mjs, line 76: NS_ERROR_UNEXPECTED: Failed to get engine data from Remote Settings [pid=8998][err] JavaScript error: resource:///modules/SearchModeSwitcher.sys.mjs, line 254: TypeError: engine is null [pid=8998][out] console.error: URLBar - Provider.UrlbarProviderSearchTips: ({}) [pid=8998][out] console.error: URLBar - Provider.UrlbarProviderSearchTips: ({}) [pid=8998][err] JavaScript error: resource:///modules/SearchModeSwitcher.sys.mjs, line 254: TypeError: engine is null [pid=8998][err] JavaScript error: http://localhost:8888/static/notebook/5573.bundle.js, line 1: TypeError: s is undefined [pid=8998][err] JavaScript error: http://localhost:8888/static/notebook/5573.bundle.js, line 1: TypeError: s is undefined [pid=8998][err] JavaScript error: chrome://juggler/content/Helper.js, line 82: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebProgress.removeProgressListener] [pid=8998][err] JavaScript error: resource:///modules/SearchModeSwitcher.sys.mjs, line 254: TypeError: engine is null [pid=8998][err] JavaScript error: resource://gre/modules/SearchEngineSelector.sys.mjs, line 76: NS_ERROR_UNEXPECTED: Failed to get engine data from Remote Settings [pid=8998][err] JavaScript error: resource:///modules/SearchModeSwitcher.sys.mjs, line 254: TypeError: engine is null [pid=8998][out] console.error: URLBar - Provider.UrlbarProviderSearchTips: ({}) [pid=8998][out] console.error: URLBar - Provider.UrlbarProviderSearchTips: ({}) [pid=8998][err] JavaScript error: resource:///modules/SearchModeSwitcher.sys.mjs, line 254: TypeError: engine is null [pid=8998][err] JavaScript error: http://localhost:8888/static/notebook/5573.bundle.js, line 1: TypeError: s is undefined [pid=8998][err] JavaScript error: http://localhost:8888/static/notebook/5573.bundle.js, line 1: TypeError: s is undefined [pid=8998][err] JavaScript error: chrome://juggler/content/Helper.js, line 82: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebProgress.removeProgressListener] [pid=8998][err] JavaScript error: resource:///modules/SearchModeSwitcher.sys.mjs, line 254: TypeError: engine is null [pid=8998][err] JavaScript error: resource://gre/modules/SearchEngineSelector.sys.mjs, line 76: NS_ERROR_UNEXPECTED: Failed to get engine data from Remote Settings [pid=8998][err] JavaScript error: resource:///modules/SearchModeSwitcher.sys.mjs, line 254: TypeError: engine is null [pid=8998][out] console.error: URLBar - Provider.UrlbarProviderSearchTips: ({}) [pid=8998][out] console.error: URLBar - Provider.UrlbarProviderSearchTips: ({}) [pid=8998][err] JavaScript error: resource:///modules/SearchModeSwitcher.sys.mjs, line 254: TypeError: engine is null [pid=8998][err] JavaScript error: http://localhost:8888/static/notebook/5573.bundle.js, line 1: TypeError: s is undefined [pid=8998][err] JavaScript error: http://localhost:8888/static/notebook/5573.bundle.js, line 1: TypeError: s is undefined [pid=8998][out] console.error: URLBar - Provider.UrlbarProviderSearchTips: ({}) [pid=8998][out] c
[firefox] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page: ui-tests/test/settings.spec.ts#L36
1) [firefox] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page Error: Screenshot comparison failed: 498 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/notebook/notebook/ui-tests/test/settings.spec.ts-snapshots/top-hidden-firefox-linux.png Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-settings-Settings-Sho-cda2b-ed-after-reloading-the-page-firefox/top-hidden-actual.png Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-settings-Settings-Sho-cda2b-ed-after-reloading-the-page-firefox/top-hidden-diff.png 34 | await page.reload({ waitUntil: 'networkidle' }); 35 | await page.menu.getMenuItem(showHeaderPath); > 36 | expect(await page.screenshot()).toMatchSnapshot('top-hidden.png', { | ^ 37 | maxDiffPixels: 300, 38 | }); 39 | at /home/runner/work/notebook/notebook/ui-tests/test/settings.spec.ts:36:37
[firefox] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page: ui-tests/test/settings.spec.ts#L36
1) [firefox] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 513 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/notebook/notebook/ui-tests/test/settings.spec.ts-snapshots/top-hidden-firefox-linux.png Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-settings-Settings-Sho-cda2b-ed-after-reloading-the-page-firefox-retry1/top-hidden-actual.png Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-settings-Settings-Sho-cda2b-ed-after-reloading-the-page-firefox-retry1/top-hidden-diff.png 34 | await page.reload({ waitUntil: 'networkidle' }); 35 | await page.menu.getMenuItem(showHeaderPath); > 36 | expect(await page.screenshot()).toMatchSnapshot('top-hidden.png', { | ^ 37 | maxDiffPixels: 300, 38 | }); 39 | at /home/runner/work/notebook/notebook/ui-tests/test/settings.spec.ts:36:37
[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('Open') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('toolbar').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/filebrowser.spec.ts:43:7 › File Browser › Select files and folders: ui-tests/test/filebrowser.spec.ts#L54
3) [firefox] › test/filebrowser.spec.ts:43:7 › File Browser › Select files and folders ─────────── Error: expect(locator).toBeHidden() Locator: getByRole('toolbar').getByText('Open') Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 5000ms - waiting for getByRole('toolbar').getByText('Open') 52 | 53 | expect(toolbar.getByText('Rename')).toBeHidden(); > 54 | expect(toolbar.getByText('Open')).toBeHidden(); | ^ 55 | expect(toolbar.getByText('Delete')).toBeVisible(); 56 | }); 57 | at /home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:54:39
ui-tests (firefox)
Process completed with exit code 1.
🎭 Playwright Run Summary
1 flaky [chromium] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered ────────────────── 35 passed (1.8m)
🎭 Playwright Run Summary
2 failed [chromium] › test/mobile.spec.ts:30:7 › Mobile › The layout should be more compact on the file browser page [chromium] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page 34 passed (2.0m)
🎭 Playwright Run Summary
3 flaky [firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file ───────────────────── [firefox] › test/filebrowser.spec.ts:43:7 › File Browser › Select files and folders ──────────── [firefox] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered ─────────────────── 33 passed (2.1m)
🎭 Playwright Run Summary
1 failed [firefox] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page 2 flaky [firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file ───────────────────── [firefox] › test/filebrowser.spec.ts:43:7 › File Browser › Select files and folders ──────────── 33 passed (2.2m)

Artifacts

Produced during runtime
Name Size
notebook-chromium-test-assets
1.08 MB
notebook-chromium-test-report
1.7 MB
notebook-chromium-updated-snapshots
338 KB
notebook-firefox-test-assets
1.58 MB
notebook-firefox-test-report
2.22 MB
notebook-firefox-updated-snapshots
394 KB