Skip to content

Users item toolbar #2058

Users item toolbar

Users item toolbar #2058

Triggered via pull request October 31, 2024 18:04
Status Failure
Total duration 13m 52s
Artifacts 20

test.yml

on: pull_request
Run pre-commit hook
4m 10s
Run pre-commit hook
Test JavaScript
3m 52s
Test JavaScript
Matrix: Test Python
check_links
48s
check_links
Install from SDist and Test
1m 17s
Install from SDist and Test
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 15 warnings, and 1 notice
Test Python (macos-latest, 3.8)
[notice] A new release of pip is available: 21.1.1 -> 24.3.1 [notice] To update, run: python3.8 -m pip install --upgrade pip
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: 963 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: 954 pixels (ratio 0.04 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: 953 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: 971 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:104:7 › Initialization › Create a notebook: ui-tests/tests/notebook.spec.ts#L117
5) tests/notebook.spec.ts:104:7 › Initialization › Create a notebook ───────────────────────────── TypeError: Cannot read properties of undefined (reading 'slice') 115 | 116 | const nbPanelGuest = await guestPage.notebook.getNotebookInPanel(); > 117 | expect(await nbPanelGuest?.screenshot()).toMatchSnapshot( | ^ 118 | 'initialization-create-notebook-guest.png' 119 | ); 120 | at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/notebook.spec.ts:117:46
tests/notebook.spec.ts:127:7 › Initialization › Open a notebook: ui-tests/tests/notebook.spec.ts#L137
6) tests/notebook.spec.ts:127:7 › Initialization › Open a notebook ─────────────────────────────── TypeError: Cannot read properties of undefined (reading 'slice') 135 | 136 | const nbPanel = await page.notebook.getNotebookInPanel(); > 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
6) tests/notebook.spec.ts:127:7 › Initialization › Open a notebook ─────────────────────────────── TypeError: Cannot read properties of undefined (reading 'slice') 140 | 141 | const nbPanelGuest = await guestPage.notebook.getNotebookInPanel(); > 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
ui_tests
Process completed with exit code 1.
Run pre-commit hook
The following actions uses node12 which is deprecated and will be forced to run on node16: pre-commit/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run pre-commit hook
The following actions use a deprecated Node.js version and will be forced to run on node20: pre-commit/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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
ui_tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test Minimum Versions
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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:104:7 › Initialization › Create a notebook ────────────────────────────── tests/notebook.spec.ts:127:7 › Initialization › Open a notebook ──────────────────────────────── 3 skipped 9 passed (1.7m)

Artifacts

Produced during runtime
Name Size
coverage-10165
19.8 KB
coverage-12214
20.5 KB
coverage-14280
20.7 KB
coverage-1553
21.2 KB
coverage-17135
20.5 KB
coverage-22033
19.5 KB
coverage-2438
19.8 KB
coverage-24532
19.1 KB
coverage-29168
20.7 KB
coverage-32034
19.8 KB
coverage-32085
21.1 KB
coverage-32102
19.8 KB
coverage-436
22 KB
coverage-6357
22 KB
coverage-6840
22 KB
coverage-7188
19.8 KB
coverage-7591
22 KB
coverage-9546
19.1 KB
jupyter-collaboration-playwright-report
3.3 MB
sdist
361 KB