refactor(editor): reorg code structure of store package #21906
Annotations
10 errors, 1 warning, and 1 notice
Run playwright tests:
tests/affine-mobile/e2e/home.spec.ts#L1
1) [Mobile Safari] › home.spec.ts:44:5 › all tab ─────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
Run playwright tests:
tests/affine-mobile/e2e/home.spec.ts#L48
1) [Mobile Safari] › home.spec.ts:44:5 › all tab ─────────────────────────────────────────────────
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for locator('#app-tabs').getByRole('tab', { name: 'all' })
- locator resolved to <li role="tab" aria-label="all" data-active="false" class="styles_tabItem__1qrozp53">…</li>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
24 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
46 | await expect(docsTab).toBeVisible();
47 |
> 48 | await docsTab.click();
| ^
49 |
50 | const todayDocs = page.getByTestId('doc-card');
51 | expect(await todayDocs.count()).toBeGreaterThan(0);
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/home.spec.ts:48:17
|
Run playwright tests:
tests/affine-mobile/e2e/home.spec.ts#L1
1) [Mobile Safari] › home.spec.ts:44:5 › all tab ─────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
Run playwright tests:
tests/affine-mobile/e2e/home.spec.ts#L48
1) [Mobile Safari] › home.spec.ts:44:5 › all tab ─────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for locator('#app-tabs').getByRole('tab', { name: 'all' })
- locator resolved to <li role="tab" aria-label="all" data-active="false" class="styles_tabItem__1qrozp53">…</li>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
83 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
46 | await expect(docsTab).toBeVisible();
47 |
> 48 | await docsTab.click();
| ^
49 |
50 | const todayDocs = page.getByTestId('doc-card');
51 | expect(await todayDocs.count()).toBeGreaterThan(0);
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/home.spec.ts:48:17
|
Run playwright tests:
tests/affine-mobile/e2e/home.spec.ts#L1
1) [Mobile Safari] › home.spec.ts:44:5 › all tab ─────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
Run playwright tests:
tests/affine-mobile/e2e/home.spec.ts#L48
1) [Mobile Safari] › home.spec.ts:44:5 › all tab ─────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for locator('#app-tabs').getByRole('tab', { name: 'all' })
- locator resolved to <li role="tab" aria-label="all" data-active="false" class="styles_tabItem__1qrozp53">…</li>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
86 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
46 | await expect(docsTab).toBeVisible();
47 |
> 48 | await docsTab.click();
| ^
49 |
50 | const todayDocs = page.getByTestId('doc-card');
51 | expect(await todayDocs.count()).toBeGreaterThan(0);
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/home.spec.ts:48:17
|
Run playwright tests:
tests/affine-mobile/e2e/home.spec.ts#L1
1) [Mobile Safari] › home.spec.ts:44:5 › all tab ─────────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
Run playwright tests:
tests/affine-mobile/e2e/home.spec.ts#L48
1) [Mobile Safari] › home.spec.ts:44:5 › all tab ─────────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for locator('#app-tabs').getByRole('tab', { name: 'all' })
- locator resolved to <li role="tab" aria-label="all" data-active="false" class="styles_tabItem__1qrozp53">…</li>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
86 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
46 | await expect(docsTab).toBeVisible();
47 |
> 48 | await docsTab.click();
| ^
49 |
50 | const todayDocs = page.getByTestId('doc-card');
51 | expect(await todayDocs.count()).toBeGreaterThan(0);
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/home.spec.ts:48:17
|
Run playwright tests:
tests/affine-mobile/e2e/settings.spec.ts#L1
2) [Mobile Safari] › settings.spec.ts:10:5 › can open settings ───────────────────────────────────
Test timeout of 60000ms exceeded.
|
Run playwright tests:
tests/affine-mobile/e2e/settings.spec.ts#L5
2) [Mobile Safari] › settings.spec.ts:10:5 › can open settings ───────────────────────────────────
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByTestId('settings-button')
- locator resolved to <button data-size="custom" data-mobile="true" data-icon-size="28" data-no-hover="true" data-variant="custom" data-icon-variant="plain" data-testid="settings-button" class="button_button__b5pchse button_iconButton__b5pchsh">…</button>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
24 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
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
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run playwright tests
7 failed
[Mobile Safari] › home.spec.ts:44:5 › all tab ──────────────────────────────────────────────────
[Mobile Safari] › settings.spec.ts:10:5 › can open settings ────────────────────────────────────
[Mobile Safari] › settings.spec.ts:14:5 › can change theme ─────────────────────────────────────
[Mobile Chrome] › back-button-visibility.spec.ts:8:5 › new doc via app tab should not show back
[Mobile Chrome] › detail.spec.ts:20:5 › can open page view more menu ───────────────────────────
[Mobile Chrome] › detail.spec.ts:25:5 › switch to page mode ────────────────────────────────────
[Mobile Chrome] › detail.spec.ts:33:5 › can show doc info ──────────────────────────────────────
|
Loading