fix(editor): add index checking to selected elements array (#9453) #21604
Annotations
1 error, 1 warning, and 1 notice
Run playwright tests:
blocksuite/tests-legacy/utils/asserts.ts#L889
1) edgeless/note/resize.spec.ts:138:1 › resize note then auto size and custom size ───────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 192
Received: 92
Expected precision: 0
Expected difference: < 0.5
Received difference: 100
at utils/asserts.ts:889
887 | expect(a.y).toBeCloseTo(b.y, 0);
888 | expect(a.w).toBeCloseTo(b.w, 0);
> 889 | expect(a.h).toBeCloseTo(b.h, 0);
| ^
890 | }
891 |
892 | export function assertDOMRectEqual(a: DOMRect, b: DOMRect) {
at assertRectEqual (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:889:15)
at assertNoteRectEqual (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:882:3)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/edgeless/note/resize.spec.ts:188: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
edgeless/note/resize.spec.ts:138:1 › resize note then auto size and custom size ────────────────
12 skipped
86 passed (2.2m)
|
Loading