refactor: add eslint rule for unused async / await (#6231) #156
Annotations
6 errors, 1 warning, and 1 notice
Run playwright test:
tests/database/column.spec.ts#L1
1) database/column.spec.ts:398:3 › select column tag action › should support select tag renaming ─
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/utils/actions/keyboard.ts#L27
1) database/column.spec.ts:398:3 › select column tag action › should support select tag renaming ─
Error: keyboard.type: Test timeout of 30000ms exceeded.
at utils/actions/keyboard.ts:27
25 |
26 | export async function type(page: Page, content: string, delay = 20) {
> 27 | await page.keyboard.type(content, { delay });
| ^
28 | }
29 |
30 | export async function withPressKey(
at type (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:27:23)
at /home/runner/work/blocksuite/blocksuite/tests/database/column.spec.ts:408:11
|
Run playwright test:
tests/database/column.spec.ts#L1
2) database/column.spec.ts:415:3 › select column tag action › should select tag renaming support shortcut key
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/database/actions.ts#L158
2) database/column.spec.ts:415:3 › select column tag action › should select tag renaming support shortcut key
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('.select-option-icon').first()
- locator resolved to <div class="select-option-icon">…</div>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
at database/actions.ts:158
156 |
157 | export async function clickSelectOption(page: Page, index = 0) {
> 158 | await page.locator('.select-option-icon').nth(index).click();
| ^
159 | }
160 |
161 | export async function performSelectColumnTagAction(
at clickSelectOption (/home/runner/work/blocksuite/blocksuite/tests/database/actions.ts:158:56)
at /home/runner/work/blocksuite/blocksuite/tests/database/column.spec.ts:430:11
|
Run playwright test:
tests/database/column.spec.ts#L1
3) database/column.spec.ts:438:3 › select column tag action › should support select tag deletion ─
Test finished within timeout of 30000ms, but tearing down "context" ran out of time.
Please allow more time for the test, since teardown is attributed towards the test timeout budget.
|
Run playwright test:
tests/utils/asserts.ts#L206
4) edgeless/auto-complete.spec.ts:112:5 › auto-complete › drag on auto-complete button › drag on right auto-complete button to add note
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
- "hello",
+ "",
]
at utils/asserts.ts:206
204 | });
205 | }, currentEditorIndex);
> 206 | expect(actualTexts).toEqual(texts);
| ^
207 | }
208 |
209 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:206:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/auto-complete.spec.ts:128:7
|
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
4 flaky
database/column.spec.ts:398:3 › select column tag action › should support select tag renaming ──
database/column.spec.ts:415:3 › select column tag action › should select tag renaming support shortcut key
database/column.spec.ts:438:3 › select column tag action › should support select tag deletion ──
edgeless/auto-complete.spec.ts:112:5 › auto-complete › drag on auto-complete button › drag on right auto-complete button to add note
62 passed (3.9m)
|
The logs for this run have expired and are no longer available.
Loading