Call get with options of type IFetchOptions (#238) #1310
Annotations
10 errors, 1 warning, 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:
1766 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#L187
2) tests/collaborationpanel.spec.ts:178:7 › Three clients › Without document ─────────────────────
Error: Screenshot comparison failed:
3373 pixels (ratio 0.02 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
185 |
186 | const tab = await page.sidebar.getContentPanel('left');
> 187 | expect(await tab?.screenshot()).toMatchSnapshot(
| ^
188 | 'three-client-without-document.png'
189 | );
190 | });
at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/collaborationpanel.spec.ts:187:37
|
run tests:
ui-tests/tests/collaborationpanel.spec.ts#L199
3) tests/collaborationpanel.spec.ts:192:7 › Three clients › With document ────────────────────────
Error: Could not find refresh toolbar item
197 | await Promise.all(
198 | guestPages.map(async p => {
> 199 | await p.filebrowser.refresh();
| ^
200 | await p.notebook.open('Untitled.ipynb');
201 | })
202 | );
at FileBrowserHelper.refresh (/home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/node_modules/@jupyterlab/galata/src/helpers/filebrowser.ts:211:13)
at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/collaborationpanel.spec.ts:199:9
at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/collaborationpanel.spec.ts:197:5
|
run tests:
ui-tests/tests/notebook.spec.ts#L108
4) tests/notebook.spec.ts:104:7 › Initialization › Create a notebook ─────────────────────────────
Error: Could not find refresh toolbar item
106 | await page.notebook.createNew();
107 | await page.notebook.activate(pathUntitled);
> 108 | await guestPage.filebrowser.refresh();
| ^
109 | await guestPage.notebook.open(pathUntitled);
110 |
111 | const nbPanel = await page.notebook.getNotebookInPanel();
at FileBrowserHelper.refresh (/home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/node_modules/@jupyterlab/galata/src/helpers/filebrowser.ts:211:13)
at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/notebook.spec.ts:108:5
|
run tests:
ui-tests/tests/notebook.spec.ts#L128
5) tests/notebook.spec.ts:127:7 › Initialization › Open a notebook ───────────────────────────────
Error: Could not find refresh toolbar item
126 |
127 | test('Open a notebook', async ({ page }) => {
> 128 | await page.filebrowser.refresh();
| ^
129 | await page.notebook.open(exampleNotebook);
130 | await page.notebook.activate(exampleNotebook);
131 |
at FileBrowserHelper.refresh (/home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/node_modules/@jupyterlab/galata/src/helpers/filebrowser.ts:211:13)
at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/notebook.spec.ts:128:5
|
run tests:
ui-tests/tests/user-menu.spec.ts#L22
6) tests/user-menu.spec.ts:20:5 › the top bar should contain the user menu with 2 items ──────────
Error: Timed out 5000ms waiting for expect(received).toHaveCount(expected) // deep equality
Expected: 2
Received: 4
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('#jp-top-bar > :not(.jp-Toolbar-spacer)')
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
20 | test('the top bar should contain the user menu with 2 items', async ({ page }) => {
21 | const topBarItems = page.locator('#jp-top-bar > :not(.jp-Toolbar-spacer)');
> 22 | await expect(topBarItems).toHaveCount(2);
| ^
23 | });
24 |
25 | test('should open dialog when clicking on the shared link button', async ({ page }) => {
at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/user-menu.spec.ts:22:29
|
run tests:
ui-tests/tests/user-menu.spec.ts#L1
7) tests/user-menu.spec.ts:25:5 › should open dialog when clicking on the shared link button ─────
Test timeout of 60000ms exceeded.
|
run tests:
ui-tests/tests/user-menu.spec.ts#L28
7) tests/user-menu.spec.ts:25:5 › should open dialog when clicking on the shared link button ─────
Error: locator.screenshot: Target closed
=========================== logs ===========================
waiting for locator('button[data-command="collaboration:shared-link"]')
============================================================
26 | const sharedLinkButton = page.locator('button[data-command="collaboration:shared-link"]');
27 |
> 28 | expect(await sharedLinkButton.screenshot()).toMatchSnapshot(
| ^
29 | 'shared-link-icon.png'
30 | );
31 |
at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/user-menu.spec.ts:28:33
|
run tests:
ui-tests/tests/user-menu.spec.ts#L1
7) tests/user-menu.spec.ts:25:5 › should open dialog when clicking on the shared link button ─────
Pending operations:
- locator.screenshot at tests/user-menu.spec.ts:28:33
|
run tests:
ui-tests/tests/user-menu.spec.ts#L1
8) tests/user-menu.spec.ts:40:5 › should close the shared link dialog on cancel ──────────────────
Test timeout of 60000ms exceeded.
|
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/.
|
run tests
10 failed
tests/collaborationpanel.spec.ts:29:5 › collaboration panel should contains two items ──────────
tests/collaborationpanel.spec.ts:178:7 › Three clients › Without document ──────────────────────
tests/collaborationpanel.spec.ts:192: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 ────────────────────────────────
tests/user-menu.spec.ts:20:5 › the top bar should contain the user menu with 2 items ───────────
tests/user-menu.spec.ts:25:5 › should open dialog when clicking on the shared link button ──────
tests/user-menu.spec.ts:40:5 › should close the shared link dialog on cancel ───────────────────
tests/user-menu.spec.ts:47:5 › should copy the shared link in clipboard ────────────────────────
tests/user-menu.spec.ts:58:5 › should copy the shared link with filepath ───────────────────────
3 skipped
3 passed (5.6m)
|
The logs for this run have expired and are no longer available.
Loading