Skip to content

Update pre-commit hooks #2267

Update pre-commit hooks

Update pre-commit hooks #2267

Triggered via pull request January 7, 2025 09:16
Status Success
Total duration 8m 56s
Artifacts 6

ui-tests.yml

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

Annotations

6 errors, 1 warning, and 2 notices
[firefox] › test/filebrowser.spec.ts:32:7 › File Browser › Select one file: ui-tests/test/filebrowser.spec.ts#L41
1) [firefox] › test/filebrowser.spec.ts:32: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') 39 | 40 | ['Rename', 'Delete', 'Open', 'Download', 'Delete'].forEach(async (text) => { > 41 | expect(toolbar.getByText(text)).toBeVisible(); | ^ 42 | }); 43 | }); 44 | at forEach (/home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:41:39) at /home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:40:56
[firefox] › test/filebrowser.spec.ts:45:7 › File Browser › Select files and folders: ui-tests/test/filebrowser.spec.ts#L57
2) [firefox] › test/filebrowser.spec.ts:45: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') 55 | expect(toolbar.getByText('Rename')).toBeHidden(); 56 | expect(toolbar.getByText('Open')).toBeHidden(); > 57 | expect(toolbar.getByText('Delete')).toBeVisible(); | ^ 58 | }); 59 | 60 | test('Select files and open', async ({ page, tmpPath }) => { at /home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:57:41
[chromium] › test/editor.spec.ts:53:7 › Editor › Renaming the file via the menu entry: ui-tests/test/editor.spec.ts#L1
1) [chromium] › test/editor.spec.ts:53:7 › Editor › Renaming the file via the menu entry ───────── Test timeout of 60000ms exceeded.
[chromium] › test/editor.spec.ts:53:7 › Editor › Renaming the file via the menu entry: ui-tests/test/editor.spec.ts#L23
1) [chromium] › test/editor.spec.ts:53:7 › Editor › Renaming the file via the menu entry ───────── Error: proxy.waitForNavigation: Test timeout of 60000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ 21 | await page.click('text="Rename"'), 22 | // wait until the URL is updated > 23 | await page.waitForNavigation(), | ^ 24 | ]); 25 | }; 26 | at processRenameDialog (/home/runner/work/notebook/notebook/ui-tests/test/editor.spec.ts:23:16) at /home/runner/work/notebook/notebook/ui-tests/test/editor.spec.ts:63:5
[chromium] › test/notebook.spec.ts:135:7 › Notebook › Open notebook tools right panel: ui-tests/test/notebook.spec.ts#L1
2) [chromium] › test/notebook.spec.ts:135:7 › Notebook › Open notebook tools right panel ───────── Test timeout of 60000ms exceeded.
[chromium] › test/notebook.spec.ts:135:7 › Notebook › Open notebook tools right panel: ui-tests/test/utils.ts#L36
2) [chromium] › test/notebook.spec.ts:135:7 › Notebook › Open notebook tools right panel ───────── Error: proxy.waitForSelector: Test timeout of 60000ms exceeded. Call log: - waiting for locator('.jp-DebuggerBugButton[aria-disabled="false"]') to be visible at test/utils.ts:36 34 | const width = viewport?.width; 35 | if (width && width > 600) { > 36 | await page.waitForSelector('.jp-DebuggerBugButton[aria-disabled="false"]'); | ^ 37 | } 38 | } 39 | at waitForKernelReady (/home/runner/work/notebook/notebook/ui-tests/test/utils.ts:36:16) at /home/runner/work/notebook/notebook/ui-tests/test/notebook.spec.ts:144:5
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
2 flaky [firefox] › test/filebrowser.spec.ts:32:7 › File Browser › Select one file ───────────────────── [firefox] › test/filebrowser.spec.ts:45:7 › File Browser › Select files and folders ──────────── 34 passed (2.2m)
🎭 Playwright Run Summary
2 flaky [chromium] › test/editor.spec.ts:53:7 › Editor › Renaming the file via the menu entry ────────── [chromium] › test/notebook.spec.ts:135:7 › Notebook › Open notebook tools right panel ────────── 34 passed (2.7m)

Artifacts

Produced during runtime
Name Size
notebook-chromium-test-assets
2.74 MB
notebook-chromium-test-report
3.4 MB
notebook-dist-2267
26.5 MB
notebook-firefox-test-assets
1.12 MB
notebook-firefox-test-report
1.78 MB
notebook-pkgs-2267
57.8 KB