Skip to content

Add a scratch-pad console to the notebook #2645

Add a scratch-pad console to the notebook

Add a scratch-pad console to the notebook #2645

Triggered via pull request December 18, 2025 15:22
Status Failure
Total duration 13m 31s
Artifacts 8

ui-tests.yml

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

Annotations

16 errors and 4 notices
ui-tests (firefox)
Process completed with exit code 1.
[firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File>New: ui-tests/test/menus.spec.ts#L47
1) [firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File>New ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) failed Expected an image 259px by 168px, received 216px by 168px. 390 pixels (ratio 0.01 of all image pixels) are different. Snapshot: opened-menu-file-new.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 File>New: ui-tests/test/menus.spec.ts#L47
1) [firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File>New ──────────────── Error: expect(Buffer).toMatchSnapshot(expected) failed Expected an image 259px by 168px, received 216px by 168px. 390 pixels (ratio 0.01 of all image pixels) are different. Snapshot: opened-menu-file-new.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/notebook.spec.ts:227:7 › Notebook › Toggle cell outputs with the O keyboard shortcut: ui-tests/test/notebook.spec.ts#L247
3) [chromium] › test/notebook.spec.ts:227:7 › Notebook › Toggle cell outputs with the O keyboard shortcut Error: proxy.waitForSelector: Test timeout of 60000ms exceeded. Call log: - waiting for locator('.jp-OutputPlaceholder') to be visible 245 | await page.keyboard.press('O'); 246 | > 247 | await page.waitForSelector('.jp-OutputPlaceholder', { state: 'visible' }); | ^ 248 | 249 | await page.keyboard.press('O'); 250 | at /home/runner/work/notebook/notebook/ui-tests/test/notebook.spec.ts:247:16
[chromium] › test/notebook.spec.ts:227:7 › Notebook › Toggle cell outputs with the O keyboard shortcut: ui-tests/test/notebook.spec.ts#L0
3) [chromium] › test/notebook.spec.ts:227:7 › Notebook › Toggle cell outputs with the O keyboard shortcut 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
2) [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
[chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory: ui-tests/test/links.spec.ts#L0
2) [chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory ─────────────── Test timeout of 60000ms exceeded.
[chromium] › test/layout.spec.ts:24:7 › Layout Customization › The Debugger panel should respect the settings and open in the left area: ui-tests/test/layout.spec.ts#L0
1) [chromium] › test/layout.spec.ts:24:7 › Layout Customization › The Debugger panel should respect the settings and open in the left area Error: page.evaluate: Execution context was destroyed, most likely because of a navigation. at /home/runner/work/notebook/notebook/ui-tests/node_modules/@jupyterlab/galata/src/jupyterlabpage.ts:717:17 at Timeout.check (/home/runner/work/notebook/notebook/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
ui-tests (chromium)
Process completed with exit code 1.
[chromium] › test/links.spec.ts:37:7 › Local Links › Open a folder: ui-tests/test/links.spec.ts#L0
3) [chromium] › test/links.spec.ts:37:7 › Local Links › Open a folder ──────────────────────────── Error: page.evaluate: Execution context was destroyed, most likely because of a navigation. at /home/runner/work/notebook/notebook/ui-tests/node_modules/@jupyterlab/galata/src/jupyterlabpage.ts:717:17 at Timeout.check (/home/runner/work/notebook/notebook/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
[chromium] › test/notebook.spec.ts:227:7 › Notebook › Toggle cell outputs with the O keyboard shortcut: ui-tests/test/notebook.spec.ts#L247
2) [chromium] › test/notebook.spec.ts:227:7 › Notebook › Toggle cell outputs with the O keyboard shortcut Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: proxy.waitForSelector: Test timeout of 60000ms exceeded. Call log: - waiting for locator('.jp-OutputPlaceholder') to be visible 245 | await page.keyboard.press('O'); 246 | > 247 | await page.waitForSelector('.jp-OutputPlaceholder', { state: 'visible' }); | ^ 248 | 249 | await page.keyboard.press('O'); 250 | at /home/runner/work/notebook/notebook/ui-tests/test/notebook.spec.ts:247:16
[chromium] › test/notebook.spec.ts:227:7 › Notebook › Toggle cell outputs with the O keyboard shortcut: ui-tests/test/notebook.spec.ts#L0
2) [chromium] › test/notebook.spec.ts:227:7 › Notebook › Toggle cell outputs with the O keyboard shortcut Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
[chromium] › test/notebook.spec.ts:227:7 › Notebook › Toggle cell outputs with the O keyboard shortcut: ui-tests/test/notebook.spec.ts#L247
2) [chromium] › test/notebook.spec.ts:227:7 › Notebook › Toggle cell outputs with the O keyboard shortcut Error: proxy.waitForSelector: Test timeout of 60000ms exceeded. Call log: - waiting for locator('.jp-OutputPlaceholder') to be visible 245 | await page.keyboard.press('O'); 246 | > 247 | await page.waitForSelector('.jp-OutputPlaceholder', { state: 'visible' }); | ^ 248 | 249 | await page.keyboard.press('O'); 250 | at /home/runner/work/notebook/notebook/ui-tests/test/notebook.spec.ts:247:16
[chromium] › test/notebook.spec.ts:227:7 › Notebook › Toggle cell outputs with the O keyboard shortcut: ui-tests/test/notebook.spec.ts#L0
2) [chromium] › test/notebook.spec.ts:227:7 › Notebook › Toggle cell outputs with the O keyboard shortcut Test timeout of 60000ms exceeded.
[chromium] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File>New: ui-tests/test/menus.spec.ts#L47
1) [chromium] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File>New ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) failed Expected an image 259px by 168px, received 216px by 168px. 64 pixels (ratio 0.01 of all image pixels) are different. Snapshot: opened-menu-file-new.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 File>New: ui-tests/test/menus.spec.ts#L47
1) [chromium] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File>New ─────────────── Error: expect(Buffer).toMatchSnapshot(expected) failed Expected an image 259px by 168px, received 216px by 168px. 64 pixels (ratio 0.01 of all image pixels) are different. Snapshot: opened-menu-file-new.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
🎭 Playwright Run Summary
38 passed (2.5m)
🎭 Playwright Run Summary
1 failed [firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File>New ───────────────── 37 passed (2.6m)
🎭 Playwright Run Summary
3 flaky [chromium] › test/layout.spec.ts:24:7 › Layout Customization › The Debugger panel should respect the settings and open in the left area [chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory ──────────────── [chromium] › test/notebook.spec.ts:227:7 › Notebook › Toggle cell outputs with the O keyboard shortcut 35 passed (3.9m)
🎭 Playwright Run Summary
2 failed [chromium] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File>New ──────────────── [chromium] › test/notebook.spec.ts:227:7 › Notebook › Toggle cell outputs with the O keyboard shortcut 1 flaky [chromium] › test/links.spec.ts:37:7 › Local Links › Open a folder ───────────────────────────── 35 passed (4.4m)

Artifacts

Produced during runtime
Name Size Digest
notebook-chromium-test-assets
5.27 MB
sha256:f79078763b808b2e027045eeb674f103fefabcf8b67c89dec8b5e55c8d7731e1
notebook-chromium-test-report
5.97 MB
sha256:d68f2f30cdabaa6c56d55b3e19623305f4ed8770e40f3fb200b115b7c31e90b9
notebook-chromium-updated-snapshots
294 KB
sha256:f06712b05179642227cd677560c98c04d07da4cae14990e630ced2960a7f1dcb
notebook-dist-2645
27.1 MB
sha256:1c13cc0f11bc1584d62f6566d0b4fbb12a75ab1a3721491b94c9c69e8cb5fa46
notebook-firefox-test-assets
1.19 MB
sha256:221024a3938979907c968d3228f65cd1d5da893b40f3f9802a77e7bbcdd88b13
notebook-firefox-test-report
1.88 MB
sha256:04b9ceb4c8eba386f275191085a74a4e3cfee33bfeed11606243f42891f0f018
notebook-firefox-updated-snapshots
402 KB
sha256:90192594c0f521c3a7f17e1d2cd8fb11429b7f20306574d546c2dd9260831601
notebook-pkgs-2645
60.8 KB
sha256:e9f9534aa6983a60f114b71713a3048d9830ff7119a26f1c976a7f4d236e8e18