Update enforce-label.yml #1980
Annotations
9 errors, 1 warning, and 2 notices
Update snapshots:
ui-tests/test/menus.spec.ts#L42
1) [firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File>Save and Export Notebook As…
Error: expect(received).toBeTruthy()
Received: false
40 |
41 | await page.menu.open(menuPath);
> 42 | expect(await page.menu.isOpen(menuPath)).toBeTruthy();
| ^
43 |
44 | const imageName = `opened-menu-${menuPath.replace(/>/g, '-')}.png`;
45 | const menu = await page.menu.getOpenMenu();
at /home/runner/work/notebook/notebook/ui-tests/test/menus.spec.ts:42:48
|
Update snapshots:
ui-tests/test/menus.spec.ts#L42
1) [firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File>Save and Export Notebook As…
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
40 |
41 | await page.menu.open(menuPath);
> 42 | expect(await page.menu.isOpen(menuPath)).toBeTruthy();
| ^
43 |
44 | const imageName = `opened-menu-${menuPath.replace(/>/g, '-')}.png`;
45 | const menu = await page.menu.getOpenMenu();
at /home/runner/work/notebook/notebook/ui-tests/test/menus.spec.ts:42:48
|
Update snapshots
Process completed with exit code 1.
|
Test:
ui-tests/test/menus.spec.ts#L47
1) [firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File ────────────────────
Error: Screenshot comparison failed:
4 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-File-firefox/opened-menu-file-expected.png
Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-File-firefox/opened-menu-file-actual.png
Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-File-firefox/opened-menu-file-diff.png
45 | const menu = await page.menu.getOpenMenu();
46 | expect(menu).toBeDefined();
> 47 | expect(await menu?.screenshot()).toMatchSnapshot(imageName.toLowerCase());
| ^
48 | });
49 | });
50 | });
at /home/runner/work/notebook/notebook/ui-tests/test/menus.spec.ts:47:40
|
Test:
ui-tests/test/menus.spec.ts#L47
1) [firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File ────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
4 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-File-firefox-retry1/opened-menu-file-expected.png
Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-File-firefox-retry1/opened-menu-file-actual.png
Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-menus-Notebook-Menus-Open-menu-item-File-firefox-retry1/opened-menu-file-diff.png
45 | const menu = await page.menu.getOpenMenu();
46 | expect(menu).toBeDefined();
> 47 | expect(await menu?.screenshot()).toMatchSnapshot(imageName.toLowerCase());
| ^
48 | });
49 | });
50 | });
at /home/runner/work/notebook/notebook/ui-tests/test/menus.spec.ts:47:40
|
Test:
ui-tests/test/menus.spec.ts#L42
2) [firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File>Save and Export Notebook As…
Error: expect(received).toBeTruthy()
Received: false
40 |
41 | await page.menu.open(menuPath);
> 42 | expect(await page.menu.isOpen(menuPath)).toBeTruthy();
| ^
43 |
44 | const imageName = `opened-menu-${menuPath.replace(/>/g, '-')}.png`;
45 | const menu = await page.menu.getOpenMenu();
at /home/runner/work/notebook/notebook/ui-tests/test/menus.spec.ts:42:48
|
Test:
ui-tests/test/menus.spec.ts#L42
2) [firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File>Save and Export Notebook As…
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
40 |
41 | await page.menu.open(menuPath);
> 42 | expect(await page.menu.isOpen(menuPath)).toBeTruthy();
| ^
43 |
44 | const imageName = `opened-menu-${menuPath.replace(/>/g, '-')}.png`;
45 | const menu = await page.menu.getOpenMenu();
at /home/runner/work/notebook/notebook/ui-tests/test/menus.spec.ts:42:48
|
Test:
ui-tests/test/filebrowser.spec.ts#L39
3) [firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file ────────────────────
Error: expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('toolbar').getByText('Delete')
37 |
38 | ['Rename', 'Delete', 'Open', 'Download', 'Delete'].forEach(async (text) => {
> 39 | expect(toolbar.getByText(text)).toBeVisible();
| ^
40 | });
41 | });
42 |
at forEach (/home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:39:39)
at /home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:38:56
|
Test
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
|
Update snapshots
1 failed
[firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File>Save and Export Notebook As…
34 passed (2.0m)
|
Test
2 failed
[firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File ─────────────────────
[firefox] › test/menus.spec.ts:37:9 › Notebook Menus › Open menu item File>Save and Export Notebook As…
1 flaky
[firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file ─────────────────────
32 passed (2.2m)
|
Loading