Fix flaky mobile UI tests #1865
Annotations
18 errors, 1 warning, and 2 notices
Update snapshots:
ui-tests/test/mobile.spec.ts#L1
1) [firefox] › test/mobile.spec.ts:26:7 › Mobile › The layout should be more compact on the notebook page
Test timeout of 60000ms exceeded.
|
Update snapshots:
ui-tests/test/mobile.spec.ts#L32
1) [firefox] › test/mobile.spec.ts:26:7 › Mobile › The layout should be more compact on the notebook page
Error: proxy.waitForEvent: Page closed
=========================== logs ===========================
waiting for event "popup"
============================================================
30 | // Create a new notebook
31 | const [notebook] = await Promise.all([
> 32 | page.waitForEvent('popup'),
| ^
33 | page.click('text="New"'),
34 | page.click('text="Python 3 (ipykernel)"'),
35 | ]);
at /home/runner/work/notebook/notebook/ui-tests/test/mobile.spec.ts:32:12
|
Update snapshots:
ui-tests/test/mobile.spec.ts#L1
1) [firefox] › test/mobile.spec.ts:26:7 › Mobile › The layout should be more compact on the notebook page
Pending operations:
- proxy.click at test/mobile.spec.ts:33:12
- proxy.click at test/mobile.spec.ts:34:12
|
Update snapshots:
ui-tests/test/mobile.spec.ts#L1
1) [firefox] › test/mobile.spec.ts:26:7 › Mobile › The layout should be more compact on the notebook page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
Update snapshots:
ui-tests/test/mobile.spec.ts#L32
1) [firefox] › test/mobile.spec.ts:26:7 › Mobile › The layout should be more compact on the notebook page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: proxy.waitForEvent: Page closed
=========================== logs ===========================
waiting for event "popup"
============================================================
30 | // Create a new notebook
31 | const [notebook] = await Promise.all([
> 32 | page.waitForEvent('popup'),
| ^
33 | page.click('text="New"'),
34 | page.click('text="Python 3 (ipykernel)"'),
35 | ]);
at /home/runner/work/notebook/notebook/ui-tests/test/mobile.spec.ts:32:12
|
Update snapshots:
ui-tests/test/mobile.spec.ts#L1
1) [firefox] › test/mobile.spec.ts:26:7 › Mobile › The layout should be more compact on the notebook page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Pending operations:
- proxy.click at test/mobile.spec.ts:33:12
- proxy.click at test/mobile.spec.ts:34:12
|
Update snapshots:
ui-tests/test/filebrowser.spec.ts#L39
2) [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('Download')
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
|
Update snapshots:
ui-tests/test/links.spec.ts#L1
3) [firefox] › test/links.spec.ts:21:7 › Local Links › Open the current directory ────────────────
Test timeout of 60000ms exceeded.
|
Update snapshots:
ui-tests/test/links.spec.ts#L25
3) [firefox] › test/links.spec.ts:21:7 › Local Links › Open the current directory ────────────────
Error: proxy.waitForEvent: Page closed
=========================== logs ===========================
waiting for event "popup"
============================================================
23 |
24 | const [current] = await Promise.all([
> 25 | page.waitForEvent('popup'),
| ^
26 | page.getByText('Current Directory').last().click(),
27 | ]);
28 |
at /home/runner/work/notebook/notebook/ui-tests/test/links.spec.ts:25:12
|
Update snapshots:
ui-tests/test/links.spec.ts#L1
3) [firefox] › test/links.spec.ts:21:7 › Local Links › Open the current directory ────────────────
Pending operations:
- locator.click at test/links.spec.ts:26:50
|
Test:
ui-tests/test/mobile.spec.ts#L1
1) [firefox] › test/mobile.spec.ts:26:7 › Mobile › The layout should be more compact on the notebook page
Test timeout of 60000ms exceeded.
|
Test:
ui-tests/test/mobile.spec.ts#L32
1) [firefox] › test/mobile.spec.ts:26:7 › Mobile › The layout should be more compact on the notebook page
Error: proxy.waitForEvent: Page closed
=========================== logs ===========================
waiting for event "popup"
============================================================
30 | // Create a new notebook
31 | const [notebook] = await Promise.all([
> 32 | page.waitForEvent('popup'),
| ^
33 | page.click('text="New"'),
34 | page.click('text="Python 3 (ipykernel)"'),
35 | ]);
at /home/runner/work/notebook/notebook/ui-tests/test/mobile.spec.ts:32:12
|
Test:
ui-tests/test/mobile.spec.ts#L1
1) [firefox] › test/mobile.spec.ts:26:7 › Mobile › The layout should be more compact on the notebook page
Pending operations:
- proxy.click at test/mobile.spec.ts:33:12
- proxy.click at test/mobile.spec.ts:34:12
|
Test:
ui-tests/test/mobile.spec.ts#L1
1) [firefox] › test/mobile.spec.ts:26:7 › Mobile › The layout should be more compact on the notebook page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
Test:
ui-tests/test/mobile.spec.ts#L32
1) [firefox] › test/mobile.spec.ts:26:7 › Mobile › The layout should be more compact on the notebook page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: proxy.waitForEvent: Page closed
=========================== logs ===========================
waiting for event "popup"
============================================================
30 | // Create a new notebook
31 | const [notebook] = await Promise.all([
> 32 | page.waitForEvent('popup'),
| ^
33 | page.click('text="New"'),
34 | page.click('text="Python 3 (ipykernel)"'),
35 | ]);
at /home/runner/work/notebook/notebook/ui-tests/test/mobile.spec.ts:32:12
|
Test:
ui-tests/test/mobile.spec.ts#L1
1) [firefox] › test/mobile.spec.ts:26:7 › Mobile › The layout should be more compact on the notebook page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Pending operations:
- proxy.click at test/mobile.spec.ts:33:12
- proxy.click at test/mobile.spec.ts:34:12
|
Test:
ui-tests/test/filebrowser.spec.ts#L39
2) [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('Open')
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/mobile.spec.ts:26:7 › Mobile › The layout should be more compact on the notebook page
2 flaky
[firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file ─────────────────────
[firefox] › test/links.spec.ts:21:7 › Local Links › Open the current directory ─────────────────
32 passed (3.1m)
|
Test
1 failed
[firefox] › test/mobile.spec.ts:26:7 › Mobile › The layout should be more compact on the notebook page
1 flaky
[firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file ─────────────────────
33 passed (2.9m)
|
Loading