feat(blocks): add support for non consecutive list in adapter #8158
Annotations
1 error, 2 warnings, and 1 notice
tests/edgeless/paste-block.spec.ts#L64
1) edgeless/paste-block.spec.ts:40: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')
62 | const blocks = newNote.locator('[data-block-id]');
63 | await expect(blocks.nth(0)).toContainText('hello');
> 64 | await expect(blocks.nth(1).locator('.resizable-img')).toBeVisible();
| ^
65 | await expect(blocks.nth(2)).toContainText('world');
66 | await expect(blocks.nth(3)).toContainText('code');
67 | });
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/paste-block.spec.ts:64:59
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
|
|
This job succeeded
Loading