refactor: edgeless tool manager #6372
Annotations
1 error, 1 warning, and 1 notice
tests/edgeless/paste-block.spec.ts#L63
1) edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ─────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('affine-edgeless-note[data-block-id="10"]').locator('[data-block-id]').nth(1).locator('.resizable-img')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('affine-edgeless-note[data-block-id="10"]').locator('[data-block-id]').nth(1).locator('.resizable-img')
61 | const blocks = newNote.locator('[data-block-id]');
62 | await expect(blocks.nth(0)).toContainText('hello');
> 63 | await expect(blocks.nth(1).locator('.resizable-img')).toBeVisible();
| ^
64 | await expect(blocks.nth(2)).toContainText('world');
65 | await expect(blocks.nth(3)).toContainText('code');
66 | });
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/paste-block.spec.ts:63:59
|
|
|
This job succeeded
Loading