Skip to content

Gracefully handling non-existing fork room #2204

Gracefully handling non-existing fork room

Gracefully handling non-existing fork room #2204

Triggered via pull request December 18, 2024 10:37
Status Failure
Total duration 10m 28s
Artifacts 2

test.yml

on: pull_request
Run pre-commit hook
2m 40s
Run pre-commit hook
check_links
39s
check_links
Matrix: Test Python
Test JavaScript
3m 40s
Test JavaScript
Test Minimum Versions
0s
Test Minimum Versions
Test Prereleases
0s
Test Prereleases
Install from SDist and Test
1m 28s
Install from SDist and Test
ui_tests
3m 31s
ui_tests
Fit to window
Zoom out
Zoom in

Annotations

23 errors, 22 warnings, and 1 notice
Test Python (macos-latest, 3.13)
Process completed with exit code 1.
Test Python (ubuntu-latest, 3.10)
Process completed with exit code 1.
Test Python (ubuntu-latest, 3.11)
Process completed with exit code 1.
Test Python (macos-latest, 3.10)
Process completed with exit code 1.
Test Python (ubuntu-latest, 3.9)
Process completed with exit code 1.
Test Python (ubuntu-latest, 3.12)
Process completed with exit code 1.
Test Python (ubuntu-latest, 3.13)
Process completed with exit code 1.
Test Python (macos-latest, 3.9)
Process completed with exit code 1.
Test Python (macos-latest, 3.12)
Process completed with exit code 1.
Test Python (macos-latest, 3.11)
Process completed with exit code 1.
Test Python (windows-latest, 3.9)
Process completed with exit code 1.
Test Python (windows-latest, 3.10)
Process completed with exit code 1.
Test Python (windows-latest, 3.11)
Process completed with exit code 1.
tests/collaborationpanel.spec.ts:29:5 › collaboration panel should contains two items: ui-tests/tests/collaborationpanel.spec.ts#L41
1) tests/collaborationpanel.spec.ts:29:5 › collaboration panel should contains two items ───────── Error: Screenshot comparison failed: 29 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-collaborationpanel-collaboration-panel-should-contains-two-items/collaborationPanelCollapsed-expected.png Received: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-collaborationpanel-collaboration-panel-should-contains-two-items/collaborationPanelCollapsed-actual.png Diff: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-collaborationpanel-collaboration-panel-should-contains-two-items/collaborationPanelCollapsed-diff.png 39 | } 40 | } > 41 | expect(await panel.screenshot()).toMatchSnapshot( | ^ 42 | 'collaborationPanelCollapsed.png' 43 | ); 44 | at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/collaborationpanel.spec.ts:41:36
tests/collaborationpanel.spec.ts:112:7 › One client › clicking on collaborator should open its file list: ui-tests/tests/collaborationpanel.spec.ts#L146
2) tests/collaborationpanel.spec.ts:112:7 › One client › clicking on collaborator should open its file list Error: Screenshot comparison failed: 112 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-collaborationpanel-One-client-clicking-on-collaborator-should-open-its-file-list/one-client-with-two-documents-expected.png Received: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-collaborationpanel-One-client-clicking-on-collaborator-should-open-its-file-list/one-client-with-two-documents-actual.png Diff: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-collaborationpanel-One-client-clicking-on-collaborator-should-open-its-file-list/one-client-with-two-documents-diff.png 144 | await expect(fileList.getByText(notebookName2)).toHaveCount(1); 145 | > 146 | expect(await collaborators.first().screenshot()).toMatchSnapshot('one-client-with-two-documents.png'); | ^ 147 | }); 148 | 149 | at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/collaborationpanel.spec.ts:146:54
tests/collaborationpanel.spec.ts:228:7 › Three clients › Without document: ui-tests/tests/collaborationpanel.spec.ts#L237
3) tests/collaborationpanel.spec.ts:228:7 › Three clients › Without document ───────────────────── Error: Screenshot comparison failed: 55 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-collaborationpanel-Three-clients-Without-document/three-client-without-document-expected.png Received: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-collaborationpanel-Three-clients-Without-document/three-client-without-document-actual.png Diff: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-collaborationpanel-Three-clients-Without-document/three-client-without-document-diff.png 235 | 236 | const tab = await page.sidebar.getContentPanel('left'); > 237 | expect(await tab?.screenshot()).toMatchSnapshot( | ^ 238 | 'three-client-without-document.png' 239 | ); 240 | }); at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/collaborationpanel.spec.ts:237:37
tests/collaborationpanel.spec.ts:242:7 › Three clients › With document: ui-tests/tests/collaborationpanel.spec.ts#L267
4) tests/collaborationpanel.spec.ts:242:7 › Three clients › With document ──────────────────────── Error: Screenshot comparison failed: 55 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-collaborationpanel-Three-clients-With-document/three-client-with-document-expected.png Received: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-collaborationpanel-Three-clients-With-document/three-client-with-document-actual.png Diff: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-collaborationpanel-Three-clients-With-document/three-client-with-document-diff.png 265 | 266 | const tab = await page.sidebar.getContentPanel('left'); > 267 | expect(await tab?.screenshot()).toMatchSnapshot( | ^ 268 | 'three-client-with-document.png' 269 | ); 270 | at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/collaborationpanel.spec.ts:267:37
tests/notebook.spec.ts:127:7 › Initialization › Open a notebook: ui-tests/tests/notebook.spec.ts#L137
5) tests/notebook.spec.ts:127:7 › Initialization › Open a notebook ─────────────────────────────── Error: Screenshot comparison failed: 715 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-notebook-Initialization-Open-a-notebook/initialization-open-notebook-host-expected.png Received: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-notebook-Initialization-Open-a-notebook/initialization-open-notebook-host-actual.png Diff: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-notebook-Initialization-Open-a-notebook/initialization-open-notebook-host-diff.png 135 | 136 | const nbPanel = await page.notebook.getNotebookInPanelLocator(); > 137 | expect.soft(await nbPanel?.screenshot()).toMatchSnapshot( | ^ 138 | 'initialization-open-notebook-host.png' 139 | ); 140 | at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/notebook.spec.ts:137:46
tests/notebook.spec.ts:127:7 › Initialization › Open a notebook: ui-tests/tests/notebook.spec.ts#L142
5) tests/notebook.spec.ts:127:7 › Initialization › Open a notebook ─────────────────────────────── Error: Screenshot comparison failed: 715 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-notebook-Initialization-Open-a-notebook/initialization-open-notebook-guest-expected.png Received: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-notebook-Initialization-Open-a-notebook/initialization-open-notebook-guest-actual.png Diff: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-notebook-Initialization-Open-a-notebook/initialization-open-notebook-guest-diff.png 140 | 141 | const nbPanelGuest = await guestPage.notebook.getNotebookInPanelLocator(); > 142 | expect(await nbPanelGuest?.screenshot()).toMatchSnapshot( | ^ 143 | 'initialization-open-notebook-guest.png' 144 | ); 145 | at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/notebook.spec.ts:142:46
tests/user-menu.spec.ts:27:5 › should open dialog when clicking on the shared link button: ui-tests/tests/user-menu.spec.ts#L37
6) tests/user-menu.spec.ts:27:5 › should open dialog when clicking on the shared link button ───── Error: Screenshot comparison failed: 213 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-user-menu-should-open-dialog-when-clicking-on-the-shared-link-button/shared-link-dialog-expected.png Received: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-user-menu-should-open-dialog-when-clicking-on-the-shared-link-button/shared-link-dialog-actual.png Diff: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-user-menu-should-open-dialog-when-clicking-on-the-shared-link-button/shared-link-dialog-diff.png 35 | await expect(page.locator('.jp-Dialog')).toBeVisible(); 36 | > 37 | expect(await page.locator('.jp-Dialog > div ').screenshot()).toMatchSnapshot( | ^ 38 | 'shared-link-dialog.png' 39 | ); 40 | }); at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/user-menu.spec.ts:37:64
ui_tests
Process completed with exit code 1.
Test Python (windows-latest, 3.13)
Process completed with exit code 1.
Test Python (windows-latest, 3.12)
Process completed with exit code 1.
check_links
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run pre-commit hook
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run pre-commit hook: packages/collaboration/src/cursors.ts#L171
Forbidden non-null assertion
Run pre-commit hook: packages/collaboration/src/cursors.ts#L235
Forbidden non-null assertion
Run pre-commit hook: packages/collaboration/src/cursors.ts#L286
Forbidden non-null assertion
Run pre-commit hook: packages/collaboration/src/menu.ts#L65
Forbidden non-null assertion
Run pre-commit hook: packages/collaboration/src/menu.ts#L70
Forbidden non-null assertion
Run pre-commit hook: packages/collaboration/src/menu.ts#L76
Forbidden non-null assertion
Run pre-commit hook: packages/collaboration/src/menu.ts#L78
Forbidden non-null assertion
Run pre-commit hook: packages/collaboration/src/userinfopanel.tsx#L26
Forbidden non-null assertion
Make SDist
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Python (ubuntu-latest, 3.10)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Python (ubuntu-latest, 3.11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Python (ubuntu-latest, 3.9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Python (ubuntu-latest, 3.12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Python (ubuntu-latest, 3.13)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test JavaScript
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Install from SDist and Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ui_tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "jupyter-collaboration-playwright-report". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
🎭 Playwright Run Summary
6 failed tests/collaborationpanel.spec.ts:29:5 › collaboration panel should contains two items ────────── tests/collaborationpanel.spec.ts:112:7 › One client › clicking on collaborator should open its file list tests/collaborationpanel.spec.ts:228:7 › Three clients › Without document ────────────────────── tests/collaborationpanel.spec.ts:242:7 › Three clients › With document ───────────────────────── tests/notebook.spec.ts:127:7 › Initialization › Open a notebook ──────────────────────────────── tests/user-menu.spec.ts:27:5 › should open dialog when clicking on the shared link button ────── 3 skipped 11 passed (1.9m)

Artifacts

Produced during runtime
Name Size
jupyter-collaboration-playwright-report
4.8 MB
sdist
374 KB