refactor(editor): modular custom specs #26400
Annotations
4 errors, 1 warning, and 1 notice
Run playwright tests:
tests/affine-mobile/e2e/home.spec.ts#L1
1) [Mobile Safari] › e2e/home.spec.ts:44:1 › all tab ─────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
Run playwright tests:
tests/affine-mobile/e2e/home.spec.ts#L46
1) [Mobile Safari] › e2e/home.spec.ts:44:1 › all tab ─────────────────────────────────────────────
Error: expect(locator).toBeVisible()
Locator: locator('#app-tabs').getByRole('tab', { name: 'all' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for locator('#app-tabs').getByRole('tab', { name: 'all' })
44 | test('all tab', async ({ page }) => {
45 | const docsTab = page.locator('#app-tabs').getByRole('tab', { name: 'all' });
> 46 | await expect(docsTab).toBeVisible();
| ^
47 |
48 | await docsTab.click();
49 |
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/home.spec.ts:46:25
|
Run playwright tests:
tests/affine-mobile/e2e/settings.spec.ts#L1
2) [Mobile Safari] › e2e/settings.spec.ts:10:1 › can open settings ───────────────────────────────
Test timeout of 60000ms exceeded.
|
Run playwright tests:
tests/affine-mobile/e2e/settings.spec.ts#L5
2) [Mobile Safari] › e2e/settings.spec.ts:10:1 › can open settings ───────────────────────────────
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByTestId('settings-button')
3 |
4 | const openSettings = async (page: Page) => {
> 5 | await page.getByTestId('settings-button').click();
| ^
6 | await expect(page.getByRole('dialog')).toBeVisible();
7 | await expect(page.locator('header:has-text("Settings")')).toBeVisible();
8 | };
at openSettings (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/settings.spec.ts:5:45)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/settings.spec.ts:11:9
|
Run playwright tests:
tests/affine-mobile/[Mobile Chrome] › e2e/back-button-visibility.spec.ts#L1
tests/affine-mobile/[Mobile Chrome] › e2e/back-button-visibility.spec.ts took 15.1s
|
Run playwright tests
2 flaky
[Mobile Safari] › e2e/home.spec.ts:44:1 › all tab ──────────────────────────────────────────────
[Mobile Safari] › e2e/settings.spec.ts:10:1 › can open settings ────────────────────────────────
5 passed (2.1m)
|
Loading