fix: drop on editor should prevent default #20480
Annotations
2 errors, 1 warning, and 1 notice
Run playwright tests:
blocksuite/tests-legacy/attachment.spec.ts#L680
1) attachment.spec.ts:660:1 › cancel file picker with input element resolves ─────────────────────
TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser"
=========================== logs ===========================
waiting for event "filechooser"
============================================================
678 | await expect(slashMenu).toBeVisible();
679 |
> 680 | const fileChooser = page.waitForEvent('filechooser');
| ^
681 | await pressEnter(page);
682 | const inputFile = page.locator("input[type='file']");
683 | await expect(inputFile).toHaveCount(1);
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:680:28
|
Run playwright tests:
blocksuite/tests-legacy/utils/asserts.ts#L209
2) clipboard/list.spec.ts:214:1 › paste nested lists to a nested list ────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
"aaa",
- "111",
+ "bbb111",
"222",
"111",
- "222bbb",
+ "222",
"ccc",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:209:23)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/clipboard/list.spec.ts:256:3
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run playwright tests
2 flaky
attachment.spec.ts:660:1 › cancel file picker with input element resolves ──────────────────────
clipboard/list.spec.ts:214:1 › paste nested lists to a nested list ─────────────────────────────
3 skipped
93 passed (1.3m)
|
Loading