Fix flaky mobile UI tests #1868
Annotations
8 errors, 3 warnings, and 2 notices
ui-tests (firefox)
Event loop is closed
|
[firefox] › test/filebrowser.spec.ts:43:7 › File Browser › Select files and folders:
ui-tests/test/filebrowser.spec.ts#L55
1) [firefox] › test/filebrowser.spec.ts:43:7 › File Browser › Select files and folders ───────────
Error: expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('toolbar').getByText('Delete')
53 | expect(toolbar.getByText('Rename')).toBeHidden();
54 | expect(toolbar.getByText('Open')).toBeHidden();
> 55 | expect(toolbar.getByText('Delete')).toBeVisible();
| ^
56 | });
57 |
58 | test('Select files and open', async ({ page, tmpPath }) => {
at /home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:55:41
|
[chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory:
ui-tests/test/links.spec.ts#L1
1) [chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory ───────────────
Test timeout of 60000ms exceeded.
|
[chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory:
ui-tests/test/links.spec.ts#L25
1) [chromium] › 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
|
[chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory:
ui-tests/test/links.spec.ts#L1
1) [chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory ───────────────
Pending operations:
- locator.click at test/links.spec.ts:26:50
|
[chromium] › test/mobile.spec.ts:24:7 › Mobile › The layout should be more compact on the notebook page:
ui-tests/test/mobile.spec.ts#L1
2) [chromium] › test/mobile.spec.ts:24:7 › Mobile › The layout should be more compact on the notebook page
Test timeout of 60000ms exceeded.
|
[chromium] › test/mobile.spec.ts:24:7 › Mobile › The layout should be more compact on the notebook page:
ui-tests/test/mobile.spec.ts#L33
2) [chromium] › test/mobile.spec.ts:24:7 › Mobile › The layout should be more compact on the notebook page
Error: proxy.waitForEvent: Page closed
=========================== logs ===========================
waiting for event "popup"
============================================================
31 | // Create a new notebook
32 | const [notebook] = await Promise.all([
> 33 | page.waitForEvent('popup'),
| ^
34 | page.click('text="New"'),
35 | page.click('text="Python 3 (ipykernel)"'),
36 | ]);
at /home/runner/work/notebook/notebook/ui-tests/test/mobile.spec.ts:33:12
|
[chromium] › test/mobile.spec.ts:24:7 › Mobile › The layout should be more compact on the notebook page:
ui-tests/test/mobile.spec.ts#L1
2) [chromium] › test/mobile.spec.ts:24:7 › Mobile › The layout should be more compact on the notebook page
Pending operations:
- proxy.click at test/mobile.spec.ts:35:12
|
Build
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/.
|
ui-tests (firefox)
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/.
|
ui-tests (chromium)
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/.
|
🎭 Playwright Run Summary
1 flaky
[firefox] › test/filebrowser.spec.ts:43:7 › File Browser › Select files and folders ────────────
34 passed (2.1m)
|
🎭 Playwright Run Summary
2 flaky
[chromium] › test/links.spec.ts:21:7 › Local Links › Open the current directory ────────────────
[chromium] › test/mobile.spec.ts:24:7 › Mobile › The layout should be more compact on the notebook page
33 passed (2.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
notebook-chromium-test-assets
Expired
|
2.65 MB |
|
notebook-chromium-test-report
Expired
|
3.31 MB |
|
notebook-dist-1868
Expired
|
9.37 MB |
|
notebook-firefox-test-assets
Expired
|
475 KB |
|
notebook-firefox-test-report
Expired
|
1.12 MB |
|
notebook-pkgs-1868
Expired
|
56.5 KB |
|