refactor(editor): use selected signal in block component #23866
Annotations
2 errors, 3 warnings, and 1 notice
Run playwright tests:
tests/affine-local/e2e/links.spec.ts#L316
1) links.spec.ts:279:1 › allow switching to embed view when linking to the other document with mode
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('affine-embed-linked-doc-block')
- locator resolved to <affine-embed-linked-doc-block contenteditable="false" data-block-id="F_H4pBzKW4" data-drop-target-for-element="true">…</affine-embed-linked-doc-block>
- 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
9 × 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
314 |
315 | await expect(cardLink).toBeVisible();
> 316 | await cardLink.click();
| ^
317 |
318 | // refocus
319 | await cardLink.click();
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:316:18
|
Run playwright tests:
tests/affine-local/e2e/links.spec.ts#L610
2) links.spec.ts:568:1 › should show edgeless content when switching card view of linked mode doc in edgeless
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByLabel('Switch view')
608 | .waitFor({ state: 'visible' });
609 | await page.mouse.click(x - 50, y - 50);
> 610 | await page.getByLabel('Switch view').click();
| ^
611 | await page.getByTestId('link-to-embed').click();
612 |
613 | const viewport = await page
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:610:40
|
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-local/duplicate-page.spec.ts#L1
tests/affine-local/duplicate-page.spec.ts took 39.1s
|
Run playwright tests:
tests/affine-local/drag-page.spec.ts#L1
tests/affine-local/drag-page.spec.ts took 39.0s
|
Run playwright tests
2 flaky
links.spec.ts:279:1 › allow switching to embed view when linking to the other document with mode
links.spec.ts:568:1 › should show edgeless content when switching card view of linked mode doc in edgeless
46 passed (4.5m)
|
Loading