Skip to content

Update to JupyterLab 4.3.0rc0 #2120

Update to JupyterLab 4.3.0rc0

Update to JupyterLab 4.3.0rc0 #2120

Triggered via pull request October 14, 2024 16:47
Status Failure
Total duration 11m 45s
Artifacts 8

ui-tests.yml

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

Annotations

18 errors and 4 notices
[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('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/notebook.spec.ts:24:7 β€Ί Notebook β€Ί Title should be rendered: 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
[firefox] β€Ί test/settings.spec.ts:23:7 β€Ί Settings β€Ί Should be persisted after reloading the page: 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
[firefox] β€Ί test/settings.spec.ts:23:7 β€Ί Settings β€Ί Should be persisted after reloading the page: 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
[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.
[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 ─ Test timeout of 60000ms exceeded.
[chromium] β€Ί test/notebook.spec.ts:32:7 β€Ί Notebook β€Ί Renaming the notebook should be possible: ui-tests/test/notebook.spec.ts#L52
1) [chromium] β€Ί test/notebook.spec.ts:32:7 β€Ί Notebook β€Ί Renaming the notebook should be possible ─ Error: proxy.waitForNavigation: Test timeout of 60000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ 50 | await page.click('text="Rename"'), 51 | // wait until the URL is updated > 52 | await page.waitForNavigation(), | ^ 53 | ]); 54 | 55 | // Check the URL contains the new name at /home/runner/work/notebook/notebook/ui-tests/test/notebook.spec.ts:52:18
[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 ─ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
[chromium] β€Ί test/notebook.spec.ts:32:7 β€Ί Notebook β€Ί Renaming the notebook should be possible: ui-tests/test/notebook.spec.ts#L52
1) [chromium] β€Ί test/notebook.spec.ts:32:7 β€Ί Notebook β€Ί Renaming the notebook should be possible ─ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: proxy.waitForNavigation: Test timeout of 60000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ 50 | await page.click('text="Rename"'), 51 | // wait until the URL is updated > 52 | await page.waitForNavigation(), | ^ 53 | ]); 54 | 55 | // Check the URL contains the new name at /home/runner/work/notebook/notebook/ui-tests/test/notebook.spec.ts:52:18
[chromium] β€Ί test/notebook.spec.ts:24:7 β€Ί Notebook β€Ί Title should be rendered: ui-tests/test/notebook.spec.ts#L1
2) [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?1728925024600 - 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:1728925021|23:username-localhost-8888|200:eyJ1c2VybmFtZSI6ICJmNTk3MDk2NzU5NWY0NGQ3YmU4NDMwYzBmMWMwYjM4MiIsICJuYW1lIjogIkFub255bW91cyBUaGVtaXN0byIsICJkaXNwbGF5X25hbWUiOiAiQW5vbnltb3VzIFRoZW1pc3RvIiwgImluaXRpYWxzIjogIkFUIiwgImNvbG9yIjogbnVsbH0=|bd2f108c976de3f721112ea46bf6fe3940a6c1401a8012d70ee7a82f440da677"; _xsrf=2|ff9b52c5|a5cce21a9c90bbb70099bef5fa038afa|1728925021 - origin: http://localhost:8888 - referer: http://localhost:8888/notebooks/test-notebook-Notebook-Title-should-be-rendered-chromium/example.ipynb - x-xsrftoken: 2|ff9b52c5|a5cce21a9c90bbb70099bef5fa038afa|1728925021 - 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
ui-tests (chromium)
Process completed with exit code 1.
[chromium] β€Ί test/settings.spec.ts:23:7 β€Ί Settings β€Ί Should be persisted after reloading the page: ui-tests/test/settings.spec.ts#L36
1) [chromium] β€Ί test/settings.spec.ts:23:7 β€Ί Settings β€Ί Should be persisted after reloading the page Error: Screenshot comparison failed: 121 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 | 38 | await page.waitForSelector('#top-panel', { state: 'hidden' }); 39 | await page.menu.clickMenuItem(showHeaderPath); 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#L43
1) [chromium] β€Ί test/settings.spec.ts:23:7 β€Ί Settings β€Ί Should be persisted after reloading the page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 365 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-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-visible-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-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
[chromium] β€Ί test/links.spec.ts:21:7 β€Ί Local Links β€Ί Open the current directory: ui-tests/test/links.spec.ts#L1
2) [chromium] β€Ί test/links.spec.ts:21:7 β€Ί Local Links β€Ί Open the current directory ─────────────── 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
ui-tests (chromium)
Process completed with exit code 1.
🎭 Playwright Run Summary
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)
🎭 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 ──────────── 32 passed (2.3m)
🎭 Playwright Run Summary
1 failed [chromium] β€Ί test/notebook.spec.ts:32:7 β€Ί Notebook β€Ί Renaming the notebook should be possible ── 1 flaky [chromium] β€Ί test/notebook.spec.ts:24:7 β€Ί Notebook β€Ί Title should be rendered ────────────────── 33 passed (3.2m)
🎭 Playwright Run Summary
1 failed [chromium] β€Ί test/settings.spec.ts:23:7 β€Ί Settings β€Ί Should be persisted after reloading the page 1 flaky [chromium] β€Ί test/links.spec.ts:21:7 β€Ί Local Links β€Ί Open the current directory ──────────────── 33 passed (2.2m)

Artifacts

Produced during runtime
Name Size
notebook-chromium-test-assets
3.08 MB
notebook-chromium-test-report
3.75 MB
notebook-chromium-updated-snapshots
314 KB
notebook-dist-2120
9.5 MB
notebook-firefox-test-assets
2.53 MB
notebook-firefox-test-report
3.16 MB
notebook-firefox-updated-snapshots
367 KB
notebook-pkgs-2120
57.2 KB