refactor: support multiple-editors #15050
Annotations
2 errors and 1 notice
Run playwright test:
tests/utils/asserts.ts#L138
1) 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:
tests/utils/asserts.ts#L196
2) selection/native.spec.ts:1914:1 › should not scroll page when mouse is click down ─────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
@@ -6,11 +6,10 @@
"",
"",
"",
"",
"",
- "",
"0
1
2
3
4
@@ -28,6 +27,7 @@
16
17
18
19
",
+ "",
]
at utils/asserts.ts:196
194 | });
195 | }, currentEditorIndex);
> 196 | expect(actualTexts).toEqual(texts);
| ^
197 | }
198 |
199 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:196:23)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:1930:3
|
Run playwright test
2 flaky
selection/native.spec.ts:1781:1 › press ArrowUp and ArrowDown in the edge of two line ──────────
selection/native.spec.ts:1914:1 › should not scroll page when mouse is click down ──────────────
2 skipped
60 passed (3.2m)
|
The logs for this run have expired and are no longer available.
Loading