Writing Flow/Rich Text: unify split logic #85717
Annotations
10 errors and 1 notice
test/e2e/specs/editor/various/rtl.spec.js#L137
1) [chromium] › editor/various/rtl.spec.js:110:2 › RTL › should arrow navigate between blocks ────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
<!-- wp:paragraph -->
- <p>٠<br>١</p>
+ <p>٠ ١ ٠ </p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>٠<br>١<br>٢</p>
+ <p>١ ٢ </p>
<!-- /wp:paragraph -->
135 | // Check the content.
136 | const content = await editor.getEditedPostContent();
> 137 | expect( content ).toBe(
| ^
138 | `<!-- wp:paragraph -->
139 | <p>٠<br>١</p>
140 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rtl.spec.js:137:21
|
test/e2e/specs/editor/various/rtl.spec.js#L137
1) [chromium] › editor/various/rtl.spec.js:110:2 › RTL › should arrow navigate between blocks ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
<!-- wp:paragraph -->
- <p>٠<br>١</p>
+ <p>٠ ١ ٠ </p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>٠<br>١<br>٢</p>
+ <p>١ ٢ </p>
<!-- /wp:paragraph -->
135 | // Check the content.
136 | const content = await editor.getEditedPostContent();
> 137 | expect( content ).toBe(
| ^
138 | `<!-- wp:paragraph -->
139 | <p>٠<br>١</p>
140 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rtl.spec.js:137:21
|
test/e2e/specs/editor/various/rtl.spec.js#L137
1) [chromium] › editor/various/rtl.spec.js:110:2 › RTL › should arrow navigate between blocks ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
<!-- wp:paragraph -->
- <p>٠<br>١</p>
+ <p>٠ ١ ٠ </p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>٠<br>١<br>٢</p>
+ <p>١ ٢ </p>
<!-- /wp:paragraph -->
135 | // Check the content.
136 | const content = await editor.getEditedPostContent();
> 137 | expect( content ).toBe(
| ^
138 | `<!-- wp:paragraph -->
139 | <p>٠<br>١</p>
140 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rtl.spec.js:137:21
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L140
2) [chromium] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
<p>First</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Still Second</p>
+ <p>Still Second </p>
<!-- /wp:paragraph -->
138 |
139 | const content = await editor.getEditedPostContent();
> 140 | expect( content ).toBe(
| ^
141 | `<!-- wp:paragraph -->
142 | <p>First</p>
143 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:140:21
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L140
2) [chromium] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
<p>First</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Still Second</p>
+ <p>Still Second </p>
<!-- /wp:paragraph -->
138 |
139 | const content = await editor.getEditedPostContent();
> 140 | expect( content ).toBe(
| ^
141 | `<!-- wp:paragraph -->
142 | <p>First</p>
143 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:140:21
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L140
2) [chromium] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
<p>First</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Still Second</p>
+ <p>Still Second </p>
<!-- /wp:paragraph -->
138 |
139 | const content = await editor.getEditedPostContent();
> 140 | expect( content ).toBe(
| ^
141 | `<!-- wp:paragraph -->
142 | <p>First</p>
143 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:140:21
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L365
3) [chromium] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@Firefox, @WebKit) › should not split with line break in front (-firefox)
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
<p>1</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>2</p>
+ <p>2 </p>
<!-- /wp:paragraph -->
363 | // Check the content.
364 | const content = await editor.getEditedPostContent();
> 365 | expect( content ).toBe(
| ^
366 | `<!-- wp:paragraph -->
367 | <p>1</p>
368 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:365:21
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L365
3) [chromium] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@Firefox, @WebKit) › should not split with line break in front (-firefox)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
<p>1</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>2</p>
+ <p>2 </p>
<!-- /wp:paragraph -->
363 | // Check the content.
364 | const content = await editor.getEditedPostContent();
> 365 | expect( content ).toBe(
| ^
366 | `<!-- wp:paragraph -->
367 | <p>1</p>
368 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:365:21
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L365
3) [chromium] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@Firefox, @WebKit) › should not split with line break in front (-firefox)
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
<p>1</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>2</p>
+ <p>2 </p>
<!-- /wp:paragraph -->
363 | // Check the content.
364 | const content = await editor.getEditedPostContent();
> 365 | expect( content ).toBe(
| ^
366 | `<!-- wp:paragraph -->
367 | <p>1</p>
368 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:365:21
|
test/e2e/specs/editor/various/writing-flow.spec.js#L287
4) [chromium] › editor/various/writing-flow.spec.js:279:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>a<br></p>
+ <p>a </p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
285 | await page.keyboard.type( 'a' );
286 | await pageUtils.pressKeys( 'shift+Enter' );
> 287 | await expect.poll( editor.getEditedPostContent )
| ^
288 | .toBe( `<!-- wp:paragraph -->
289 | <p>a<br></p>
290 | <!-- /wp:paragraph -->` );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:287:3
|
11 failed
[chromium] › editor/various/rtl.spec.js:110:2 › RTL › should arrow navigate between blocks ─────
[chromium] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line
[chromium] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@Firefox, @WebKit) › should not split with line break in front (-firefox)
[chromium] › editor/various/writing-flow.spec.js:279:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end
[chromium] › editor/various/writing-flow.spec.js:293:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end and continue writing
[chromium] › editor/various/writing-flow.spec.js:308:2 › Writing Flow (@Firefox, @WebKit) › should insert line break mid text
[chromium] › editor/various/writing-flow.spec.js:323:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at start
[chromium] › editor/various/writing-flow.spec.js:338:2 › Writing Flow (@Firefox, @WebKit) › should insert line break in empty container
[chromium] › editor/various/writing-flow.spec.js:570:2 › Writing Flow (@Firefox, @WebKit) › should not prematurely multi-select
[chromium] › editor/various/writing-flow.spec.js:634:2 › Writing Flow (@Firefox, @WebKit) › should merge and then soft line break
[chromium] › editor/various/writing-flow.spec.js:723:2 › Writing Flow (@Firefox, @WebKit) › should remember initial vertical position
1 skipped
220 passed (18.2m)
|
The logs for this run have expired and are no longer available.
Loading