perf: faster tick for snapshot #6271
Annotations
5 errors and 1 notice
tests/edgeless/note/note.spec.ts#L267
1) edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly ───────────────────────
Error: expect(received).toBeTruthy()
Received: false
265 | expect(
266 | (await firstNote.innerText()) === (await secondNote.innerText())
> 267 | ).toBeTruthy();
| ^
268 |
269 | // size should be same
270 | const firstNoteBox = await firstNote.boundingBox();
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:267:5
|
tests/edgeless/note/note.spec.ts#L272
1) edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly ───────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected)
Expected: 552.5581665039062
Received: 658.6046829223633
Expected precision: 2
Expected difference: < 0.005
Received difference: 106.04651641845703
270 | const firstNoteBox = await firstNote.boundingBox();
271 | const secondNoteBox = await secondNote.boundingBox();
> 272 | expect(firstNoteBox!.width).toBeCloseTo(secondNoteBox!.width);
| ^
273 | expect(firstNoteBox!.height).toBeCloseTo(secondNoteBox!.height);
274 | });
275 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:272:31
|
tests/edgeless/note/note.spec.ts#L272
1) edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly ───────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected)
Expected: 587.906982421875
Received: 658.6046829223633
Expected precision: 2
Expected difference: < 0.005
Received difference: 70.69770050048828
270 | const firstNoteBox = await firstNote.boundingBox();
271 | const secondNoteBox = await secondNote.boundingBox();
> 272 | expect(firstNoteBox!.width).toBeCloseTo(secondNoteBox!.width);
| ^
273 | expect(firstNoteBox!.height).toBeCloseTo(secondNoteBox!.height);
274 | });
275 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:272:31
|
tests/edgeless/note/note.spec.ts#L272
1) edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly ───────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected)
Expected: 658.6046752929688
Received: 729.3023147583008
Expected precision: 2
Expected difference: < 0.005
Received difference: 70.69763946533203
270 | const firstNoteBox = await firstNote.boundingBox();
271 | const secondNoteBox = await secondNote.boundingBox();
> 272 | expect(firstNoteBox!.width).toBeCloseTo(secondNoteBox!.width);
| ^
273 | expect(firstNoteBox!.height).toBeCloseTo(secondNoteBox!.height);
274 | });
275 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:272:31
|
|
|
This job failed
Loading