Skip to content

Update to JupyterLab 4.3.0rc0 #2117

Update to JupyterLab 4.3.0rc0

Update to JupyterLab 4.3.0rc0 #2117

Re-run triggered October 14, 2024 13:22
Status Failure
Total duration 5m 32s
Artifacts 10

ui-tests.yml

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

Annotations

12 errors and 3 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/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
[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?1728912436944 - 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:1728912433|23:username-localhost-8888|196:eyJ1c2VybmFtZSI6ICJlZmVmYTBhOWMzZTI0NGRkODg5YjYyZDQ3NWZhNDIxNyIsICJuYW1lIjogIkFub255bW91cyBTaW5vcGUiLCAiZGlzcGxheV9uYW1lIjogIkFub255bW91cyBTaW5vcGUiLCAiaW5pdGlhbHMiOiAiQVMiLCAiY29sb3IiOiBudWxsfQ==|8465018eed1bfcc4709d5ea3e9b61bf3abd6466403ce643bdba0b8a14328ca2b"; _xsrf=2|baf6f14f|f262bfabac8db461de0c6218f0107b6b|1728912433 - origin: http://localhost:8888 - referer: http://localhost:8888/notebooks/test-notebook-Notebook-Title-should-be-rendered-chromium/example.ipynb - x-xsrftoken: 2|baf6f14f|f262bfabac8db461de0c6218f0107b6b|1728912433 - 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/mobile.spec.ts:30:7 › Mobile › The layout should be more compact on the file browser page: ui-tests/test/mobile.spec.ts#L38
1) [chromium] › test/mobile.spec.ts:30:7 › Mobile › The layout should be more compact on the file browser page Error: Screenshot comparison failed: 233 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 | }); 40 | 41 | test('The layout should be more compact on the notebook page', async ({ at /home/runner/work/notebook/notebook/ui-tests/test/mobile.spec.ts:38: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
1) [chromium] › test/mobile.spec.ts:30:7 › Mobile › The layout should be more compact on the file browser page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 233 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-retry1/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-retry1/tree-diff.png 36 | await page.waitForSelector('#top-panel-wrapper', { state: 'hidden' }); 37 | > 38 | expect(await page.screenshot()).toMatchSnapshot('tree.png'); | ^ 39 | }); 40 | 41 | test('The layout should be more compact on the notebook page', async ({ at /home/runner/work/notebook/notebook/ui-tests/test/mobile.spec.ts:38: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 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 | 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#L36
2) [chromium] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 311 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 | 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/notebook.spec.ts:24:7 › Notebook › Title should be rendered: ui-tests/test/notebook.spec.ts#L1
3) [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?1728912301084 - 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:1728912297|23:username-localhost-8888|188:eyJ1c2VybmFtZSI6ICI1MzdmNjY1YmJiODk0MjI3OGMyYTU5NjYxZmFlYmZiYiIsICJuYW1lIjogIkFub255bW91cyBLYWxlIiwgImRpc3BsYXlfbmFtZSI6ICJBbm9ueW1vdXMgS2FsZSIsICJpbml0aWFscyI6ICJBSyIsICJjb2xvciI6IG51bGx9|093852f09e6365e26075d9eae9b17b895eb9b8c9c47aa8d3cb5511c01fde3623; _xsrf=2|9a7f306b|5f6ab0bf38dd190cd5b1ad2c5f1019b2|1728912297 - origin: http://localhost:8888 - referer: http://localhost:8888/notebooks/test-notebook-Notebook-Title-should-be-rendered-chromium/example.ipynb - x-xsrftoken: 2|9a7f306b|5f6ab0bf38dd190cd5b1ad2c5f1019b2|1728912297 - 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/notebook.spec.ts:24:7 › Notebook › Title should be rendered: ui-tests/test/notebook.spec.ts#L1
3) [chromium] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered ───────────────── Error: Test ended. Browser logs: <launching> /home/runner/.cache/ms-playwright/chromium-1129/chrome-linux/chrome --disable-field-trial-config --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding,PlzDedicatedWorker --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --unsafely-disable-devtools-self-xss-warnings --headless=old --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-rytGcN --remote-debugging-pipe --no-startup-window <launched> pid=5993 [pid=5993][err] Old Headless mode will be removed from the Chrome binary soon. Please use the new Headless mode (https://developer.chrome.com/docs/chromium/new-headless) or the chrome-headless-shell which is a standalone implementation of the old Headless mode (https://developer.chrome.com/blog/chrome-headless-shell). [pid=5993][err] [pid=5993][err] [1014/132451.564538:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable. [pid=5993][err] [1014/132451.574991:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process. [pid=5993] <gracefully close start>
[chromium] › test/notebook.spec.ts:32:7 › Notebook › Renaming the notebook should be possible: ui-tests/test/notebook.spec.ts#L1
4) [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
4) [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
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/filebrowser.spec.ts:43:7 › File Browser › Select files and folders ──────────── 33 passed (2.0m)
🎭 Playwright Run Summary
1 flaky [chromium] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered ────────────────── 34 passed (1.7m)
🎭 Playwright Run Summary
2 failed [chromium] › test/mobile.spec.ts:30:7 › Mobile › The layout should be more compact on the file browser page [chromium] › test/settings.spec.ts:23:7 › Settings › Should be persisted after reloading the page 2 flaky [chromium] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered ────────────────── [chromium] › test/notebook.spec.ts:32:7 › Notebook › Renaming the notebook should be possible ── 31 passed (2.4m)

Artifacts

Produced during runtime
Name Size
notebook-chromium-test-assets
7.79 MB
notebook-chromium-test-report
8.43 MB
notebook-chromium-updated-snapshots
314 KB