refactor: support multiple-editors #15034
Annotations
2 errors and 1 notice
Run playwright test:
tests/utils/asserts.ts#L222
1) selection/native.spec.ts:928:1 › Delete the blank line between two dividers ───────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 2
Received: 1
at utils/asserts.ts:222
220 | export async function assertDivider(page: Page, count: number) {
221 | const actual = await page.locator('affine-divider').count();
> 222 | expect(actual).toEqual(count);
| ^
223 | }
224 |
225 | export async function assertRichDragButton(page: Page) {
at assertDivider (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:222:18)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:941:3
|
Run playwright test:
tests/utils/asserts.ts#L138
2) selection/native.spec.ts:1781:1 › press ArrowUp and ArrowDown in the edge of two line ─────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "title"
Received: ""
at utils/asserts.ts:138
136 | const inlineEditor = editor.locator('.doc-title-container').first();
137 | const vText = inlineEditorInnerTextToString(await inlineEditor.innerText());
> 138 | expect(vText).toBe(text);
| ^
139 | }
140 |
141 | export async function assertInlineEditorDeltas(
at assertTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:138:17)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:1857:3
|
Run playwright test
2 flaky
selection/native.spec.ts:928:1 › Delete the blank line between two dividers ────────────────────
selection/native.spec.ts:1781:1 › press ArrowUp and ArrowDown in the edge of two line ──────────
2 skipped
60 passed (3.2m)
|
The logs for this run have expired and are no longer available.
Loading