feat(mobile): use native select for mobile setting #20476
Annotations
10 errors, 1 warning, and 1 notice
tests/affine-mobile/e2e/settings.spec.ts#L1
1) [Mobile Safari] › settings.spec.ts:14:5 › can change theme ────────────────────────────────────
Test timeout of 60000ms exceeded.
|
tests/affine-mobile/e2e/settings.spec.ts#L28
1) [Mobile Safari] › settings.spec.ts:14:5 › can change theme ────────────────────────────────────
Error: expect(locator).toBeVisible()
Locator: getByRole('dialog').filter({ has: getByRole('menuitem', { name: 'Light' }) })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for getByRole('dialog').filter({ has: getByRole('menuitem', { name: 'Light' }) })
26 | has: page.getByRole('menuitem', { name: 'Light' }),
27 | })
> 28 | ).toBeVisible();
| ^
29 |
30 | await page.getByRole('menuitem', { name: 'Dark' }).click();
31 |
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/settings.spec.ts:28:5
|
tests/affine-mobile/e2e/settings.spec.ts#L28
1) [Mobile Safari] › settings.spec.ts:14:5 › can change theme ────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('dialog').filter({ has: getByRole('menuitem', { name: 'Light' }) })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for getByRole('dialog').filter({ has: getByRole('menuitem', { name: 'Light' }) })
26 | has: page.getByRole('menuitem', { name: 'Light' }),
27 | })
> 28 | ).toBeVisible();
| ^
29 |
30 | await page.getByRole('menuitem', { name: 'Dark' }).click();
31 |
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/settings.spec.ts:28:5
|
tests/affine-mobile/e2e/settings.spec.ts#L28
1) [Mobile Safari] › settings.spec.ts:14:5 › can change theme ────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('dialog').filter({ has: getByRole('menuitem', { name: 'Light' }) })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for getByRole('dialog').filter({ has: getByRole('menuitem', { name: 'Light' }) })
26 | has: page.getByRole('menuitem', { name: 'Light' }),
27 | })
> 28 | ).toBeVisible();
| ^
29 |
30 | await page.getByRole('menuitem', { name: 'Dark' }).click();
31 |
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/settings.spec.ts:28:5
|
tests/affine-mobile/e2e/settings.spec.ts#L28
1) [Mobile Safari] › settings.spec.ts:14:5 › can change theme ────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('dialog').filter({ has: getByRole('menuitem', { name: 'Light' }) })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for getByRole('dialog').filter({ has: getByRole('menuitem', { name: 'Light' }) })
26 | has: page.getByRole('menuitem', { name: 'Light' }),
27 | })
> 28 | ).toBeVisible();
| ^
29 |
30 | await page.getByRole('menuitem', { name: 'Dark' }).click();
31 |
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/settings.spec.ts:28:5
|
tests/affine-mobile/e2e/settings.spec.ts#L49
2) [Mobile Safari] › settings.spec.ts:35:5 › can close change theme popover by clicking outside ──
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('dialog').filter({ has: getByRole('menuitem', { name: 'Light' }) })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for getByRole('dialog').filter({ has: getByRole('menuitem', { name: 'Light' }) })
47 | });
48 |
> 49 | await expect(themePopover).toBeVisible();
| ^
50 |
51 | // get a mouse position that is 10px offset to the top of theme popover
52 | // and click
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/settings.spec.ts:49:30
|
tests/affine-mobile/e2e/settings.spec.ts#L49
2) [Mobile Safari] › settings.spec.ts:35:5 › can close change theme popover by clicking outside ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('dialog').filter({ has: getByRole('menuitem', { name: 'Light' }) })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for getByRole('dialog').filter({ has: getByRole('menuitem', { name: 'Light' }) })
47 | });
48 |
> 49 | await expect(themePopover).toBeVisible();
| ^
50 |
51 | // get a mouse position that is 10px offset to the top of theme popover
52 | // and click
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/settings.spec.ts:49:30
|
tests/affine-mobile/e2e/settings.spec.ts#L49
2) [Mobile Safari] › settings.spec.ts:35:5 › can close change theme popover by clicking outside ──
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('dialog').filter({ has: getByRole('menuitem', { name: 'Light' }) })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for getByRole('dialog').filter({ has: getByRole('menuitem', { name: 'Light' }) })
47 | });
48 |
> 49 | await expect(themePopover).toBeVisible();
| ^
50 |
51 | // get a mouse position that is 10px offset to the top of theme popover
52 | // and click
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/settings.spec.ts:49:30
|
tests/affine-mobile/e2e/settings.spec.ts#L49
2) [Mobile Safari] › settings.spec.ts:35:5 › can close change theme popover by clicking outside ──
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('dialog').filter({ has: getByRole('menuitem', { name: 'Light' }) })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for getByRole('dialog').filter({ has: getByRole('menuitem', { name: 'Light' }) })
47 | });
48 |
> 49 | await expect(themePopover).toBeVisible();
| ^
50 |
51 | // get a mouse position that is 10px offset to the top of theme popover
52 | // and click
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/settings.spec.ts:49:30
|
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
|
This job failed
Loading