Skip to content

Tests

Tests #177

Triggered via schedule May 29, 2024 08:12
Status Failure
Total duration 10m 35s
Artifacts 1

test.yml

on: schedule
Run pre-commit hook
3m 52s
Run pre-commit hook
Test JavaScript
3m 13s
Test JavaScript
Matrix: Test Python
Make SDist
0s
Make SDist
Test Minimum Versions
0s
Test Minimum Versions
Test Prereleases
0s
Test Prereleases
Install from SDist and Test
0s
Install from SDist and Test
Fit to window
Zoom out
Zoom in

Annotations

13 errors, 24 warnings, and 1 notice
Test Python (ubuntu-latest, 3.11)
Process completed with exit code 1.
Test Python (ubuntu-latest, 3.8)
Process completed with exit code 1.
Test Python (ubuntu-latest, 3.12)
Process completed with exit code 1.
Test Python (macos-latest, 3.8)
[notice] A new release of pip is available: 21.1.1 -> 24.0 [notice] To update, run: python3.8 -m pip install --upgrade pip
Test Python (macos-latest, 3.8)
Process completed with exit code 1.
Test Python (macos-latest, 3.11)
Process completed with exit code 1.
Test Python (macos-latest, 3.12)
Process completed with exit code 1.
Test Python (windows-latest, 3.8)
Process completed with exit code 1.
tests/notebook.spec.ts:104:7 › Initialization › Create a notebook: ui-tests/tests/notebook.spec.ts#L112
1) tests/notebook.spec.ts:104:7 › Initialization › Create a notebook ───────────────────────────── Error: Screenshot comparison failed: 2663 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-Create-a-notebook/initialization-create-notebook-host-expected.png Received: /home/runner/work/jupyter_collaboration/jupyter_collaboration/ui-tests/test-results/tests-notebook-Initialization-Create-a-notebook/initialization-create-notebook-host-actual.png Diff: /home/runner/work/jupyter_collaboration/jupyter_collaboration/ui-tests/test-results/tests-notebook-Initialization-Create-a-notebook/initialization-create-notebook-host-diff.png 110 | 111 | const nbPanel = await page.notebook.getNotebookInPanel(); > 112 | expect.soft(await nbPanel?.screenshot()).toMatchSnapshot( | ^ 113 | 'initialization-create-notebook-host.png' 114 | ); 115 | at /home/runner/work/jupyter_collaboration/jupyter_collaboration/ui-tests/tests/notebook.spec.ts:112:46
tests/notebook.spec.ts:127:7 › Initialization › Open a notebook: ui-tests/tests/notebook.spec.ts#L137
2) tests/notebook.spec.ts:127:7 › Initialization › Open a notebook ─────────────────────────────── Error: Screenshot comparison failed: 1472 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.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
2) tests/notebook.spec.ts:127:7 › Initialization › Open a notebook ─────────────────────────────── Error: Screenshot comparison failed: 1472 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.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.
Test Python (windows-latest, 3.11)
Process completed with exit code 1.
check_links
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test Python (ubuntu-latest, 3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test Python (ubuntu-latest, 3.8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test JavaScript
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test Python (ubuntu-latest, 3.12)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run pre-commit hook
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, pre-commit/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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: 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
Run pre-commit hook: packages/collaboration/src/userinfopanel.tsx#L32
Forbidden non-null assertion
Test Python (macos-latest, 3.8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test Python (macos-latest, 3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test Python (macos-latest, 3.12)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test Python (windows-latest, 3.8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ui_tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test Python (windows-latest, 3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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
2 failed tests/notebook.spec.ts:104:7 › Initialization › Create a notebook ────────────────────────────── tests/notebook.spec.ts:127:7 › Initialization › Open a notebook ──────────────────────────────── 3 skipped 11 passed (1.5m)

Artifacts

Produced during runtime
Name Size
jupyter-collaboration-playwright-report Expired
2.44 MB