refactor: add eslint rule for unused async / await (#6231) #156
Annotations
4 errors, 1 warning, and 1 notice
Run playwright test:
tests/clipboard.spec.ts#L1
1) clipboard.spec.ts:917:1 › should copy and paste of database work ──────────────────────────────
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/clipboard.spec.ts#L1
2) clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode ─────────────────
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/utils/actions/drag.ts#L21
2) clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode ─────────────────
Error: mouse.move: Test timeout of 30000ms exceeded.
at utils/actions/drag.ts:21
19 | await page.mouse.move(x1, y1);
20 | await page.mouse.down();
> 21 | await page.mouse.move(x2, y2, { steps });
| ^
22 | await options?.beforeMouseUp?.();
23 | await page.mouse.up();
24 | }
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:21:20)
at addBasicShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:365:3)
at createShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1320:3)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:1021:3
|
Run playwright test:
tests/utils/asserts.ts#L186
3) clipboard.spec.ts:1036:1 › copy when text note active in edgeless ─────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "12345551234"
Received: "1234555test"
at utils/asserts.ts:186
184 | export async function assertText(page: Page, text: string, i = 0) {
185 | const actual = await getStringFromRichText(page, i);
> 186 | expect(actual).toBe(text);
| ^
187 | }
188 |
189 | export async function assertTextContain(page: Page, text: string, i = 0) {
at assertText (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:186:18)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:1051:3
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run playwright test
3 flaky
clipboard.spec.ts:917:1 › should copy and paste of database work ───────────────────────────────
clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode ──────────────────
clipboard.spec.ts:1036:1 › copy when text note active in edgeless ──────────────────────────────
8 skipped
55 passed (3.2m)
|
The logs for this run have expired and are no longer available.
Loading