fix: paragraph infinite reset selection #9088
Annotations
2 errors, 2 warnings, and 1 notice
tests/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/blocksuite/blocksuite/tests/attachment.spec.ts:680:28
|
tests/attachment.spec.ts#L69
2) attachment.spec.ts:694:1 › indent attachment block to paragraph ───────────────────────────────
TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser"
=========================== logs ===========================
waiting for event "filechooser"
============================================================
67 | await expect(slashMenu).toBeVisible();
68 |
> 69 | const fileChooser = page.waitForEvent('filechooser');
| ^
70 | await pressEnter(page);
71 | await sleep(100);
72 | await (await fileChooser).setFiles(FILE_PATH);
at insertAttachment (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:69:30)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:701:3
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
|
|
The logs for this run have expired and are no longer available.
Loading