Skip to content

Fix UI tests

Fix UI tests #72

Triggered via pull request April 1, 2024 15:28
@krassowskikrassowski
synchronize #2
fix-ui-tests
Status Failure
Total duration 7m 12s
Artifacts 2

test.yml

on: pull_request
Run pre-commit hook
3m 2s
Run pre-commit hook
Test JavaScript
2m 28s
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

19 errors, 23 warnings, and 1 notice
Test Python (ubuntu-latest, 3.11)
Event loop is closed
Test Python (ubuntu-latest, 3.11)
Event loop is closed
Test Python (ubuntu-latest, 3.11)
Process completed with exit code 1.
Test Python (ubuntu-latest, 3.8)
Event loop is closed
Test Python (ubuntu-latest, 3.8)
Event loop is closed
Test Python (ubuntu-latest, 3.8)
Process completed with exit code 1.
Test Python (ubuntu-latest, 3.12)
Event loop is closed
Test Python (ubuntu-latest, 3.12)
Event loop is closed
Test Python (ubuntu-latest, 3.12)
Process completed with exit code 1.
Test Python (macos-latest, 3.8)
Process completed with exit code 139.
Test Python (windows-latest, 3.8)
Process completed with exit code 1.
Test Python (windows-latest, 3.11)
Event loop is closed
Test Python (windows-latest, 3.11)
Event loop is closed
Test Python (windows-latest, 3.11)
Event loop is closed
Test Python (windows-latest, 3.11)
Event loop is closed
Test Python (windows-latest, 3.11)
Process completed with exit code 1.
tests/notebook.spec.ts:104:7 › Initialization › Create a notebook: ui-tests/tests/notebook.spec.ts#L117
1) tests/notebook.spec.ts:104:7 › Initialization › Create a notebook ───────────────────────────── Error: Screenshot comparison failed: Expected an image 694px by 650px, received 694px by 647px. 306 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-guest-expected.png Received: /home/runner/work/jupyter_collaboration/jupyter_collaboration/ui-tests/test-results/tests-notebook-Initialization-Create-a-notebook/initialization-create-notebook-guest-actual.png Diff: /home/runner/work/jupyter_collaboration/jupyter_collaboration/ui-tests/test-results/tests-notebook-Initialization-Create-a-notebook/initialization-create-notebook-guest-diff.png 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#L141
2) tests/notebook.spec.ts:127:7 › Initialization › Open a notebook ─────────────────────────────── Error: Screenshot comparison failed: Expected an image 694px by 650px, received 694px by 647px. 408 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 139 | 140 | const nbPanelGuest = await guestPage.notebook.getNotebookInPanel(); > 141 | expect(await nbPanelGuest?.screenshot()).toMatchSnapshot( | ^ 142 | 'initialization-open-notebook-guest.png' 143 | ); 144 | at /home/runner/work/jupyter_collaboration/jupyter_collaboration/ui-tests/tests/notebook.spec.ts:141:46
ui_tests
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, actions/setup-python@v4, actions/cache@v3, actions/setup-node@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, actions/setup-python@v4, actions/cache@v3, actions/setup-node@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, actions/setup-python@v4, actions/cache@v3, actions/setup-node@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, actions/cache@v3, actions/setup-node@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.12)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3, actions/setup-node@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, actions/cache@v3, actions/setup-node@v3, 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, actions/setup-python@v4, actions/cache@v3, actions/setup-node@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, actions/setup-python@v4, actions/cache@v3, actions/setup-node@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 (macos-latest, 3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3, actions/setup-node@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.8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3, actions/setup-node@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, actions/setup-python@v4, actions/cache@v3, actions/setup-node@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/setup-python@v4, actions/cache@v3, actions/setup-node@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/.
🎭 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.3m)

Artifacts

Produced during runtime
Name Size
coverage-data Expired
152 KB
jupyter-collaboration-playwright-report Expired
2.16 MB