fix(editor): add index checking to selected elements array #21573
Annotations
1 error, 1 warning, and 1 notice
Run playwright tests:
blocksuite/tests-legacy/utils/asserts.ts#L210
1) clipboard/list.spec.ts:215: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:210
208 | });
209 | }, currentEditorIndex);
> 210 | expect(actualTexts).toEqual(texts);
| ^
211 | }
212 |
213 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:210:23)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/clipboard/list.spec.ts:257: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
1 flaky
clipboard/list.spec.ts:215:1 › paste nested lists to a nested list ─────────────────────────────
3 skipped
95 passed (1.3m)
|
Loading