fix(blocks): only split paragraphs based on newlines (#8702) #7574
Annotations
1 error, 1 warning, and 1 notice
tests/edgeless/paste-block.spec.ts#L62
1) edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ─────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('affine-edgeless-note[data-block-id="10"]').locator('[data-block-id]').first()
- Expected string - 1
+ Received string + 21
- hello
+
+
+
+
+ 50
+
+
+ Type '/' for commands
+
+
+
+
+
+
+
+
+
+
+
+
+
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('affine-edgeless-note[data-block-id="10"]').locator('[data-block-id]').first()
- locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph>
- unexpected value "
50
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph>
- unexpected value "
50
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph>
- unexpected value "
50
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph>
- unexpected value "
50
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph>
- unexpected value "
50
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph>
- unexpected value "
50
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph>
- unexpected value "
50
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph>
- unexpected value "
50
Type '/' for commands
"
- locator resolved to <affine-paragraph data-
|
|
|
This job succeeded
Loading