Add a setting to enable the notebook to take up the full width #2147
Annotations
16 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?1729621685399
- user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/128.0.6613.18 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:1729621682|23:username-localhost-8888|196:eyJ1c2VybmFtZSI6ICIyNDlmN2FmZGM2N2M0Zjk3ODU2NGFhMDMzYjI1YjcwZCIsICJuYW1lIjogIkFub255bW91cyBTaW5vcGUiLCAiZGlzcGxheV9uYW1lIjogIkFub255bW91cyBTaW5vcGUiLCAiaW5pdGlhbHMiOiAiQVMiLCAiY29sb3IiOiBudWxsfQ==|fb03ba0ac2bad03df3426cf49029c20d00a1d95a0429a9c7e9de3d011d4fb692"; _xsrf=2|1001264d|e58c301688668f56fa68002b85dfdef3|1729621682
- origin: http://localhost:8888
- referer: http://localhost:8888/notebooks/test-notebook-Notebook-Title-should-be-rendered-chromium/example.ipynb
- x-xsrftoken: 2|1001264d|e58c301688668f56fa68002b85dfdef3|1729621682
- sec-ch-ua: "Chromium";v="128", "Not;A=Brand";v="24", "HeadlessChrome";v="128"
- 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/menus.spec.ts:37:9 › Notebook Menus › Open menu item View:
ui-tests/test/menus.spec.ts#L47
1) [chromium] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item View ───────────────────
Error: Screenshot comparison failed:
Expected an image 369px by 648px, received 369px by 672px. 7213 pixels (ratio 0.03 of all image pixels) are different.
Expected: /home/runner/work/notebook/notebook/ui-tests/test/menus.spec.ts-snapshots/opened-menu-view-chromium-linux.png
Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-View-chromium/opened-menu-view-actual.png
Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-View-chromium/opened-menu-view-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 View:
ui-tests/test/menus.spec.ts#L47
1) [chromium] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item View ───────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 369px by 648px, received 369px by 672px. 7213 pixels (ratio 0.03 of all image pixels) are different.
Expected: /home/runner/work/notebook/notebook/ui-tests/test/menus.spec.ts-snapshots/opened-menu-view-chromium-linux.png
Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-View-chromium-retry1/opened-menu-view-actual.png
Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-View-chromium-retry1/opened-menu-view-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/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:
489 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:
489 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
|
[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
3) [chromium] › test/mobile.spec.ts:30:7 › Mobile › The layout should be more compact on the file browser page
Error: Screenshot comparison failed:
405 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
|
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('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
|
[firefox] › test/filebrowser.spec.ts:43:7 › File Browser › Select files and folders:
ui-tests/test/filebrowser.spec.ts#L55
2) [firefox] › test/filebrowser.spec.ts:43:7 › File Browser › Select files and folders ───────────
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')
53 | expect(toolbar.getByText('Rename')).toBeHidden();
54 | expect(toolbar.getByText('Open')).toBeHidden();
> 55 | expect(toolbar.getByText('Delete')).toBeVisible();
| ^
56 | });
57 |
58 | test('Select files and open', async ({ page, tmpPath }) => {
at /home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:55:41
|
[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: Response has been disposed
at /home/runner/work/notebook/notebook/ui-tests/node_modules/@jupyterlab/galata/src/galata.ts:901:29
|
[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=9031][err] *** You are running in headless mode.
[pid=9031][err] JavaScript warning: resource://services-settings/Utils.sys.mjs, line 114: unreachable code after return statement
[pid=9031][out] console.warn: services.settings: Ignoring preference override of remote settings server
[pid=9031][out] console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
[pid=9031][out] Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.23645) [GFX1-]: glxtest: Unable to open a connection to the X server
[pid=9031][out] console.error: ({})
[pid=9031][out]
[pid=9031][out] Juggler listening to the pipe
[pid=9031][out] console.error: ({})
[pid=9031][out] console.error: SearchEngineSelector: "Received empty search configuration!"
[pid=9031][out] console.error: "Received empty top sites configuration!"
[pid=9031][out] console.error: SearchEngineSelector: "Received empty search configuration!"
[pid=9031][out] console.error: SearchService: "#init: failure initializing search:" ({})
[pid=9031][err] JavaScript error: resource://gre/modules/SearchEngineSelector.sys.mjs, line 73: NS_ERROR_UNEXPECTED: Failed to get engine data from Remote Settings
[pid=9031][err] JavaScript error: resource://gre/modules/SearchEngineSelector.sys.mjs, line 73: NS_ERROR_UNEXPECTED: Failed to get engine data from Remote Settings
[pid=9031][err] JavaScript error: resource://gre/modules/SearchEngineSelector.sys.mjs, line 73: NS_ERROR_UNEXPECTED: Failed to get engine data from Remote Settings
[pid=9031][err] JavaScript error: resource://gre/modules/SearchEngineSelector.sys.mjs, line 73: NS_ERROR_UNEXPECTED: Failed to get engine data from Remote Settings
[pid=9031][out] console.error: "Received empty top sites configuration!"
[pid=9031][out] console.error: WebExtensions:
[pid=9031][out] Message: [Exception... "Failed to get engine data from Remote Settings" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: resource://gre/modules/SearchEngineSelector.sys.mjs :: getEngineConfiguration :: line 73" data: no]
[pid=9031][out] Stack:
[pid=9031][out] getEngineConfiguration@resource://gre/modules/SearchEngineSelector.sys.mjs:73:24
[pid=9031][out]
[pid=9031][out] console.error: URLBar - Provider.UrlbarProviderSearchTips: ({})
[pid=9031][out] console.error: SearchSettings: "_write: Could not write to settings file:" (new Error("cannot write without any engine.", "resource://gre/modules/SearchSettings.sys.mjs", 303))
[pid=9031][err] JavaScript error: http://localhost:8888/static/notebook/5573.bundle.js, line 1: TypeError: s is undefined
[pid=9031][err] JavaScript error: http://localhost:8888/static/notebook/5573.bundle.js, line 1: TypeError: s is undefined
[pid=9031][err] JavaScript error: chrome://juggler/content/Helper.js, line 82: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebProgress.removeProgressListener]
[pid=9031][err] JavaScript error: resource://gre/modules/SearchEngineSelector.sys.mjs, line 73: NS_ERROR_UNEXPECTED: Failed to get engine data from Remote Settings
[pid=9031][out] console.error: URLBar - Provider.UrlbarProviderSearchTips: ({})
[pid=9031][err] JavaScript error: http://localhost:8888/static/notebook/5573.bundle.js, line 1: TypeError: s is undefined
[pid=9031][err] JavaScript error: http://localhost:8888/static/notebook/5573.bundle.js, line 1: TypeError: s is undefined
[pid=9031][err] JavaScript error: chrome://juggler/content/Helper.js, line 82: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebProgress.removeProgressListener]
[pid=9031][err] JavaScript error: resource://gre/modules/SearchEngineSelector.sys.mjs, line 73: NS_ERROR_UNEXPECTED: Failed to get engine data from Rem
|
[firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item View:
ui-tests/test/menus.spec.ts#L47
1) [firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item View ────────────────────
Error: Screenshot comparison failed:
Expected an image 369px by 648px, received 369px by 673px. 9721 pixels (ratio 0.04 of all image pixels) are different.
Expected: /home/runner/work/notebook/notebook/ui-tests/test/menus.spec.ts-snapshots/opened-menu-view-firefox-linux.png
Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-View-firefox/opened-menu-view-actual.png
Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-View-firefox/opened-menu-view-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 View:
ui-tests/test/menus.spec.ts#L47
1) [firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item View ────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 369px by 648px, received 369px by 673px. 9721 pixels (ratio 0.04 of all image pixels) are different.
Expected: /home/runner/work/notebook/notebook/ui-tests/test/menus.spec.ts-snapshots/opened-menu-view-firefox-linux.png
Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-View-firefox-retry1/opened-menu-view-actual.png
Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-View-firefox-retry1/opened-menu-view-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(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
|
[firefox] › test/filebrowser.spec.ts:43:7 › File Browser › Select files and folders:
ui-tests/test/filebrowser.spec.ts#L55
3) [firefox] › test/filebrowser.spec.ts:43:7 › File Browser › Select files and folders ───────────
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')
53 | expect(toolbar.getByText('Rename')).toBeHidden();
54 | expect(toolbar.getByText('Open')).toBeHidden();
> 55 | expect(toolbar.getByText('Delete')).toBeVisible();
| ^
56 | });
57 |
58 | test('Select files and open', async ({ page, tmpPath }) => {
at /home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:55:41
|
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 ──────────────────
34 passed (1.8m)
|
🎭 Playwright Run Summary
2 failed
[chromium] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item View ────────────────────
[chromium] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page
1 flaky
[chromium] › test/mobile.spec.ts:30:7 › Mobile › The layout should be more compact on the file browser page
32 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 ───────────────────
32 passed (2.1m)
|
🎭 Playwright Run Summary
1 failed
[firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item View ─────────────────────
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 ────────────
32 passed (2.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
notebook-chromium-test-assets
|
2.76 MB |
|
notebook-chromium-test-report
|
3.3 MB |
|
notebook-chromium-updated-snapshots
|
313 KB |
|
notebook-dist-2147
|
9.5 MB |
|
notebook-firefox-test-assets
|
2.31 MB |
|
notebook-firefox-test-report
|
2.88 MB |
|
notebook-firefox-updated-snapshots
|
368 KB |
|
notebook-pkgs-2147
|
57.4 KB |
|