ci: shard vitest to speed up unit test #20474
Annotations
2 errors, 1 warning, and 1 notice
Run playwright tests:
blocksuite/tests-legacy/attachment.spec.ts#L69
1) 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/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:69:30)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:701:3
|
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:694:1 › indent attachment block to paragraph ────────────────────────────────
clipboard/list.spec.ts:214:1 › paste nested lists to a nested list ─────────────────────────────
3 skipped
93 passed (1.3m)
|
Loading