Update to JupyterLab 4.3.0rc0
#2120
Annotations
7 errors and 2 notices
Update snapshots:
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('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
|
Update snapshots:
ui-tests/test/notebook.spec.ts#L1
2) [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?1728925042374
- user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.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|4df38b93|db154e895a6308a728b7e54c046fada6|1728925038
- 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:1728925038|23:username-localhost-8888|196:eyJ1c2VybmFtZSI6ICJlOTUxNGY1NDU5ZDk0Y2U0YmM0M2ZiM2RhMzE3OWZmZiIsICJuYW1lIjogIkFub255bW91cyBFdXBvcmllIiwgImRpc3BsYXlfbmFtZSI6ICJBbm9ueW1vdXMgRXVwb3JpZSIsICJpbml0aWFscyI6ICJBRSIsICJjb2xvciI6IG51bGx9|0cc883c172d4ca28254c327de2d834d720f82f174df64a246a1567dd8106b550; _xsrf=2|4df38b93|db154e895a6308a728b7e54c046fada6|1728925038
" 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
|
Test:
ui-tests/test/settings.spec.ts#L43
1) [firefox] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page
Error: Screenshot comparison failed:
305 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/notebook/notebook/ui-tests/test/settings.spec.ts-snapshots/top-visible-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-visible-actual.png
Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-settings-Settings-Sho-cda2b-ed-after-reloading-the-page-firefox/top-visible-diff.png
41 | await page.reload({ waitUntil: 'networkidle' });
42 | await page.menu.getMenuItem(showHeaderPath);
> 43 | expect(await page.screenshot()).toMatchSnapshot('top-visible.png');
| ^
44 | });
45 | });
46 |
at /home/runner/work/notebook/notebook/ui-tests/test/settings.spec.ts:43:37
|
Test:
ui-tests/test/settings.spec.ts#L43
1) [firefox] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
305 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/notebook/notebook/ui-tests/test/settings.spec.ts-snapshots/top-visible-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-visible-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-visible-diff.png
41 | await page.reload({ waitUntil: 'networkidle' });
42 | await page.menu.getMenuItem(showHeaderPath);
> 43 | expect(await page.screenshot()).toMatchSnapshot('top-visible.png');
| ^
44 | });
45 | });
46 |
at /home/runner/work/notebook/notebook/ui-tests/test/settings.spec.ts:43:37
|
Test:
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
|
Test:
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
|
Test
Process completed with exit code 1.
|
Update snapshots
2 flaky
[firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file ─────────────────────
[firefox] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered ───────────────────
33 passed (2.0m)
|
Test
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 ────────────
32 passed (2.3m)
|
Loading