Add missing "Open..." file menu #2054
Annotations
9 errors and 3 notices
[chromium] › test/notebook.spec.ts:32:7 › Notebook › Renaming the notebook should be possible:
ui-tests/test/notebook.spec.ts#L1
1) [chromium] › test/notebook.spec.ts:32:7 › Notebook › Renaming the notebook should be possible ─
Error: apiRequestContext.fetch: Test ended.
Call log:
- → POST http://localhost:8888/api/sessions?1717151143823
- user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/125.0.6422.26 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:1717151140|23:username-localhost-8888|196:eyJ1c2VybmFtZSI6ICIyMDMyYzVlZjQ3ZWQ0MmU1ODk1NGNjNGFjZDk3YWY4NCIsICJuYW1lIjogIkFub255bW91cyBJc29ub2UiLCAiZGlzcGxheV9uYW1lIjogIkFub255bW91cyBJc29ub2UiLCAiaW5pdGlhbHMiOiAiQUkiLCAiY29sb3IiOiBudWxsfQ==|57bb5665c9f09df16ccd7d77e829a54c0f8e74314365000983e3e9e1697ced66"; _xsrf=2|fe729b76|a7034419550424d36d01bd29fa8e484c|1717151140
- origin: http://localhost:8888
- referer: http://localhost:8888/notebooks/test-notebook-Notebook-Title-should-be-rendered-chromium/example.ipynb
- x-xsrftoken: 2|fe729b76|a7034419550424d36d01bd29fa8e484c|1717151140
- sec-ch-ua: "HeadlessChrome";v="125", "Chromium";v="125", "Not.A/Brand";v="24"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Linux"
- content-length: 173
at /home/runner/work/notebook/notebook/ui-tests/node_modules/@jupyterlab/galata/src/galata.ts:925:49
|
[chromium] › test/notebook.spec.ts:62:7 › Notebook › Outputs should be scrolled automatically:
ui-tests/test/notebook.spec.ts#L1
2) [chromium] › test/notebook.spec.ts:62:7 › Notebook › Outputs should be scrolled automatically ─
Test timeout of 60000ms exceeded.
|
[chromium] › test/notebook.spec.ts:62:7 › Notebook › Outputs should be scrolled automatically:
ui-tests/test/notebook.spec.ts#L82
2) [chromium] › test/notebook.spec.ts:62:7 › Notebook › Outputs should be scrolled automatically ─
Error: locator.waitFor: Test timeout of 60000ms exceeded.
Call log:
- waiting for locator('.jp-mod-outputsScrolled').first() to be visible
80 | .locator('.jp-mod-outputsScrolled')
81 | .nth(0)
> 82 | .waitFor({ state: 'visible' });
| ^
83 |
84 | // execute the second cell
85 | await runAndAdvance(page);
at /home/runner/work/notebook/notebook/ui-tests/test/notebook.spec.ts:82:8
|
[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#L41
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"
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
|
[firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File:
ui-tests/test/menus.spec.ts#L47
1) [firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File ────────────────────
Error: Screenshot comparison failed:
1 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/notebook/notebook/ui-tests/test/menus.spec.ts-snapshots/opened-menu-file-firefox-linux.png
Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-File-firefox/opened-menu-file-actual.png
Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-File-firefox/opened-menu-file-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 File:
ui-tests/test/menus.spec.ts#L47
1) [firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File ────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
1 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/notebook/notebook/ui-tests/test/menus.spec.ts-snapshots/opened-menu-file-firefox-linux.png
Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-File-firefox-retry1/opened-menu-file-actual.png
Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-File-firefox-retry1/opened-menu-file-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('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
|
ui-tests (firefox)
Process completed with exit code 1.
|
🎭 Playwright Run Summary
2 flaky
[chromium] › test/notebook.spec.ts:32:7 › Notebook › Renaming the notebook should be possible ──
[chromium] › test/notebook.spec.ts:62:7 › Notebook › Outputs should be scrolled automatically ──
33 passed (2.2m)
|
🎭 Playwright Run Summary
1 flaky
[firefox] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page
34 passed (2.4m)
|
🎭 Playwright Run Summary
1 failed
[firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File ─────────────────────
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-chromium-test-assets
Expired
|
5.35 MB |
|
notebook-chromium-test-report
Expired
|
5.98 MB |
|
notebook-dist-2054
Expired
|
10.5 MB |
|
notebook-firefox-test-assets
Expired
|
1.57 MB |
|
notebook-firefox-test-report
Expired
|
2.16 MB |
|
notebook-firefox-updated-snapshots
Expired
|
360 KB |
|
notebook-pkgs-2054
Expired
|
56.9 KB |
|