Skip to content

Tests

Tests #276

Triggered via schedule September 23, 2023 08:16
Status Failure
Total duration 16m 19s
Artifacts 3

test.yml

on: schedule
Run pre-commit hook
4m 0s
Run pre-commit hook
Test JavaScript
3m 18s
Test JavaScript
Matrix: Test Python
Install from SDist and Test
1m 23s
Install from SDist and Test
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 11 warnings, and 1 notice
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: 394767 pixels (ratio 0.88 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(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:41
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: 273 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.
Run pre-commit hook
The following actions uses node12 which is deprecated and will be forced to run on node16: pre-commit/action@v2.0.0. 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#L285
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
🎭 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 (2.4m)

Artifacts

Produced during runtime
Name Size
coverage-data Expired
456 KB
jupyter-collaboration-playwright-report Expired
3.03 MB
sdist Expired
7 MB