fix(core): move openinapp guard to workspace scope #22996
Annotations
10 errors, 2 warnings, and 1 notice
Run playwright tests:
tests/affine-mobile/e2e/back-button-visibility.spec.ts#L1
1) [Mobile Safari] › back-button-visibility.spec.ts:8:1 › new doc via app tab should not show back
Test timeout of 60000ms exceeded.
|
Run playwright tests:
tests/affine-mobile/e2e/utils.ts#L51
1) [Mobile Safari] › back-button-visibility.spec.ts:8:1 › new doc via app tab should not show back
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for locator('#app-tabs').getByRole('tab', { name: 'home' })
- locator resolved to <li role="tab" aria-label="home" 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
30 × 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
at utils.ts:51
49 | const tab = page.locator('#app-tabs').getByRole('tab', { name });
50 | await expect(tab).toBeVisible();
> 51 | await tab.click();
| ^
52 | // eslint-disable-next-line unicorn/prefer-dom-node-dataset
53 | const isActive = await tab.getAttribute('data-active');
54 | expect(isActive).toBe('true');
at openTab (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/utils.ts:51:13)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/back-button-visibility.spec.ts:15:3
|
Run playwright tests:
tests/affine-mobile/e2e/back-button-visibility.spec.ts#L1
1) [Mobile Safari] › back-button-visibility.spec.ts:8:1 › new doc via app tab should not show back
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
Run playwright tests:
tests/affine-mobile/e2e/utils.ts#L51
1) [Mobile Safari] › back-button-visibility.spec.ts:8:1 › new doc via app tab should not show back
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for locator('#app-tabs').getByRole('tab', { name: 'home' })
- locator resolved to <li role="tab" aria-label="home" 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
84 × 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
at utils.ts:51
49 | const tab = page.locator('#app-tabs').getByRole('tab', { name });
50 | await expect(tab).toBeVisible();
> 51 | await tab.click();
| ^
52 | // eslint-disable-next-line unicorn/prefer-dom-node-dataset
53 | const isActive = await tab.getAttribute('data-active');
54 | expect(isActive).toBe('true');
at openTab (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/utils.ts:51:13)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/back-button-visibility.spec.ts:15:3
|
Run playwright tests:
tests/affine-mobile/e2e/back-button-visibility.spec.ts#L1
1) [Mobile Safari] › back-button-visibility.spec.ts:8:1 › new doc via app tab should not show back
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
Run playwright tests:
tests/affine-mobile/e2e/utils.ts#L51
1) [Mobile Safari] › back-button-visibility.spec.ts:8:1 › new doc via app tab should not show back
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for locator('#app-tabs').getByRole('tab', { name: 'home' })
- locator resolved to <li role="tab" aria-label="home" 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
96 × 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
at utils.ts:51
49 | const tab = page.locator('#app-tabs').getByRole('tab', { name });
50 | await expect(tab).toBeVisible();
> 51 | await tab.click();
| ^
52 | // eslint-disable-next-line unicorn/prefer-dom-node-dataset
53 | const isActive = await tab.getAttribute('data-active');
54 | expect(isActive).toBe('true');
at openTab (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/utils.ts:51:13)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/back-button-visibility.spec.ts:15:3
|
Run playwright tests:
tests/affine-mobile/e2e/explorer-favorite.spec.ts#L1
2) [Mobile Safari] › explorer-favorite.spec.ts:8:1 › Create new doc in favorites ─────────────────
Test timeout of 60000ms exceeded.
|
Run playwright tests:
tests/affine-mobile/e2e/utils.ts#L21
2) [Mobile Safari] › explorer-favorite.spec.ts:8:1 › Create new doc in favorites ─────────────────
Error: locator.tap: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByTestId('page-header-back')
- locator resolved to <button data-size="custom" data-mobile="true" data-icon-size="24" data-no-hover="true" data-variant="custom" data-icon-variant="plain" data-testid="page-header-back" class="button_button__b5pchse button_iconButton__b5pchsh">…</button>
- attempting tap 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 tap 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 tap action
- waiting 100ms
95 × 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 tap action
- waiting 500ms
at utils.ts:21
19 | */
20 | export async function pageBack(page: Page) {
> 21 | await page.getByTestId('page-header-back').tap();
| ^
22 | }
23 |
24 | export async function getAttrOfActiveElement(
at pageBack (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/utils.ts:21:46)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-favorite.spec.ts:20:9
|
Run playwright tests:
tests/affine-mobile/e2e/explorer-favorite.spec.ts#L1
2) [Mobile Safari] › explorer-favorite.spec.ts:8:1 › Create new doc in favorites ─────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
Run playwright tests:
tests/affine-mobile/e2e/utils.ts#L21
2) [Mobile Safari] › explorer-favorite.spec.ts:8:1 › Create new doc in favorites ─────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.tap: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByTestId('page-header-back')
- locator resolved to <button data-size="custom" data-mobile="true" data-icon-size="24" data-no-hover="true" data-variant="custom" data-icon-variant="plain" data-testid="page-header-back" class="button_button__b5pchse button_iconButton__b5pchsh">…</button>
- attempting tap 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 tap 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 tap action
- waiting 100ms
90 × 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 tap action
- waiting 500ms
at utils.ts:21
19 | */
20 | export async function pageBack(page: Page) {
> 21 | await page.getByTestId('page-header-back').tap();
| ^
22 | }
23 |
24 | export async function getAttrOfActiveElement(
at pageBack (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/utils.ts:21:46)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-favorite.spec.ts:20: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:
tests/affine-mobile/[Mobile Safari] › detail.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › detail.spec.ts took 1.4m
|
Run playwright tests
3 flaky
[Mobile Safari] › back-button-visibility.spec.ts:8:1 › new doc via app tab should not show back
[Mobile Safari] › explorer-favorite.spec.ts:8:1 › Create new doc in favorites ──────────────────
[Mobile Safari] › explorer-folder.spec.ts:54:1 › create a sub folder ───────────────────────────
5 passed (3.8m)
|
Loading