Writing Flow/Rich Text: unify split logic #85722
Annotations
10 errors and 1 notice
test/e2e/specs/editor/various/splitting-merging.spec.js#L140
1) [webkit] › 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
1) [webkit] › 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
1) [webkit] › 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
2) [webkit] › 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
2) [webkit] › 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
2) [webkit] › 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
3) [webkit] › 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
|
test/e2e/specs/editor/various/writing-flow.spec.js#L287
3) [webkit] › editor/various/writing-flow.spec.js:279:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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
|
test/e2e/specs/editor/various/writing-flow.spec.js#L287
3) [webkit] › editor/various/writing-flow.spec.js:279:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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
|
test/e2e/specs/editor/various/writing-flow.spec.js#L302
4) [webkit] › editor/various/writing-flow.spec.js:293:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end and continue writing
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>a<br>b</p>
+ <p>a b </p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
300 | await pageUtils.pressKeys( 'shift+Enter' );
301 | await page.keyboard.type( 'b' );
> 302 | await expect.poll( editor.getEditedPostContent )
| ^
303 | .toBe( `<!-- wp:paragraph -->
304 | <p>a<br>b</p>
305 | <!-- /wp:paragraph -->` );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:302:3
|
23 failed
[webkit] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line
[webkit] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@Firefox, @WebKit) › should not split with line break in front (-firefox)
[webkit] › editor/various/writing-flow.spec.js:279:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end
[webkit] › editor/various/writing-flow.spec.js:293:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end and continue writing
[webkit] › editor/various/writing-flow.spec.js:308:2 › Writing Flow (@Firefox, @WebKit) › should insert line break mid text
[webkit] › editor/various/writing-flow.spec.js:323:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at start
[webkit] › editor/various/writing-flow.spec.js:338:2 › Writing Flow (@Firefox, @WebKit) › should insert line break in empty container
[webkit] › editor/various/writing-flow.spec.js:570:2 › Writing Flow (@Firefox, @WebKit) › should not prematurely multi-select
[webkit] › editor/various/writing-flow.spec.js:634:2 › Writing Flow (@Firefox, @WebKit) › should merge and then soft line break
[webkit] › editor/various/writing-flow.spec.js:723:2 › Writing Flow (@Firefox, @WebKit) › should remember initial vertical position
[firefox] › editor/blocks/list.spec.js:293:2 › List (@Firefox) › can be created by converting a paragraph with line breaks
[firefox] › editor/blocks/list.spec.js:319:2 › List (@Firefox) › should not transform lines in block when transforming multiple blocks
[firefox] › editor/blocks/list.spec.js:889:2 › List (@Firefox) › should insert a line break on shift+enter
[firefox] › editor/blocks/list.spec.js:907:2 › List (@Firefox) › should insert a line break on shift+enter in a non trailing list item
[firefox] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line
[firefox] › editor/various/writing-flow.spec.js:279:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end
[firefox] › editor/various/writing-flow.spec.js:293:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end and continue writing
[firefox] › editor/various/writing-flow.spec.js:308:2 › Writing Flow (@Firefox, @WebKit) › should insert line break mid text
[firefox] › editor/various/writing-flow.spec.js:323:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at start
[firefox] › editor/various/writing-flow.spec.js:338:2 › Writing Flow (@Firefox, @WebKit) › should insert line break in empty container
[firefox] › editor/various/writing-flow.spec.js:570:2 › Writing Flow (@Firefox, @WebKit) › should not prematurely multi-select
[firefox] › editor/various/writing-flow.spec.js:634:2 › Writing Flow (@Firefox, @WebKit) › should merge and then soft line break
[firefox] › editor/various/writing-flow.spec.js:723:2 › Writing Flow (@Firefox, @WebKit) › should remember initial vertical position
2 skipped
197 passed (36.6m)
|
The logs for this run have expired and are no longer available.
Loading