ci: shard vitest to speed up unit test #20473
Annotations
2 errors, 1 warning, and 1 notice
Run playwright tests:
blocksuite/tests-legacy/utils/asserts.ts#L209
1) clipboard/list.spec.ts:133:1 › paste a nested list to a nested list ───────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
"aaa",
- "aaa",
+ "bbbaaa",
"bbb",
- "cccbbb",
+ "ccc",
"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:165:3
|
Run playwright tests:
blocksuite/tests-legacy/utils/asserts.ts#L209
2) clipboard/list.spec.ts:307:1 › paste non-nested lists to a nested list ────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
- "123",
- "456aaa",
+ "aaa123",
+ "456",
"bbb",
]
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:342: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
clipboard/list.spec.ts:133:1 › paste a nested list to a nested list ────────────────────────────
clipboard/list.spec.ts:307:1 › paste non-nested lists to a nested list ─────────────────────────
3 skipped
93 passed (1.3m)
|
Loading