Add js api #2065
Annotations
8 errors, 2 warnings, and 1 notice
run tests:
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
|
run tests:
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
|
run tests:
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
|
run tests:
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
|
run tests:
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
|
run tests:
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
|
run tests:
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
|
run tests
Process completed with exit code 1.
|
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/
|
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/
|
run tests
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)
|
Loading