chore: fix eslint in blocksuite #20464
Annotations
2 errors, 2 warnings, and 1 notice
Run playwright tests:
tests/affine-local/e2e/links.spec.ts#L286
1) links.spec.ts:249:5 › 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="H_IUK57j0vr8ke0jxxO_g">…</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
284 |
285 | await expect(cardLink).toBeVisible();
> 286 | await cardLink.click();
| ^
287 |
288 | // refocus
289 | await cardLink.click();
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:286:18
|
Run playwright tests:
tests/affine-local/e2e/local-first-favorite-page.spec.ts#L49
2) local-first-favorite-page.spec.ts:36:5 › Export to html, markdown and png ─────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByTestId('export-menu')
47 | {
48 | await clickPageMoreActions(page);
> 49 | await page.getByTestId('export-menu').click();
| ^
50 | const downloadPromise = page.waitForEvent('download');
51 | await page.getByTestId('export-to-html').click();
52 | await downloadPromise;
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-favorite-page.spec.ts:49:43
|
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/local-first-avatar.spec.ts#L1
tests/affine-local/local-first-avatar.spec.ts took 16.0s
|
Run playwright tests
2 flaky
links.spec.ts:249:5 › allow switching to embed view when linking to the other document with mode
local-first-favorite-page.spec.ts:36:5 › Export to html, markdown and png ──────────────────────
2 skipped
32 passed (4.3m)
|
Loading