Rich text: Try debouncing useInput
to improve performance and fix infinite loop
#84848
Annotations
10 errors and 1 notice
test/e2e/specs/editor/various/splitting-merging.spec.js#L32
1) [chromium] › editor/various/splitting-merging.spec.js:15:2 › splitting and merging blocks (@Firefox, @WebKit) › should split and merge paragraph blocks using Enter and Backspace
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
<!-- wp:paragraph -->
- <p>First</p>
+ <p>F</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Second</p>
+ <p></p>
<!-- /wp:paragraph -->
30 | // Check the content.
31 | const content = await editor.getEditedPostContent();
> 32 | expect( content ).toBe(
| ^
33 | `<!-- wp:paragraph -->
34 | <p>First</p>
35 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:32:21
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L32
1) [chromium] › editor/various/splitting-merging.spec.js:15:2 › splitting and merging blocks (@Firefox, @WebKit) › should split and merge paragraph blocks using Enter and Backspace
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
<!-- wp:paragraph -->
- <p>First</p>
+ <p>F</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Second</p>
+ <p></p>
<!-- /wp:paragraph -->
30 | // Check the content.
31 | const content = await editor.getEditedPostContent();
> 32 | expect( content ).toBe(
| ^
33 | `<!-- wp:paragraph -->
34 | <p>First</p>
35 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:32:21
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L32
1) [chromium] › editor/various/splitting-merging.spec.js:15:2 › splitting and merging blocks (@Firefox, @WebKit) › should split and merge paragraph blocks using Enter and Backspace
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
<!-- wp:paragraph -->
- <p>First</p>
+ <p>F</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Second</p>
+ <p></p>
<!-- /wp:paragraph -->
30 | // Check the content.
31 | const content = await editor.getEditedPostContent();
> 32 | expect( content ).toBe(
| ^
33 | `<!-- wp:paragraph -->
34 | <p>First</p>
35 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:32:21
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L103
2) [chromium] › editor/various/splitting-merging.spec.js:85:2 › splitting and merging blocks (@Firefox, @WebKit) › should merge into inline boundary position
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>Bar</p>
+ <p>B</p>
<!-- /wp:paragraph -->
101 |
102 | const content = await editor.getEditedPostContent();
> 103 | expect( content ).toBe(
| ^
104 | `<!-- wp:paragraph -->
105 | <p>Bar</p>
106 | <!-- /wp:paragraph -->`
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:103:21
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L103
2) [chromium] › editor/various/splitting-merging.spec.js:85:2 › splitting and merging blocks (@Firefox, @WebKit) › should merge into inline boundary position
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>Bar</p>
+ <p>B</p>
<!-- /wp:paragraph -->
101 |
102 | const content = await editor.getEditedPostContent();
> 103 | expect( content ).toBe(
| ^
104 | `<!-- wp:paragraph -->
105 | <p>Bar</p>
106 | <!-- /wp:paragraph -->`
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:103:21
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L103
2) [chromium] › editor/various/splitting-merging.spec.js:85:2 › splitting and merging blocks (@Firefox, @WebKit) › should merge into inline boundary position
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>Bar</p>
+ <p>B</p>
<!-- /wp:paragraph -->
101 |
102 | const content = await editor.getEditedPostContent();
> 103 | expect( content ).toBe(
| ^
104 | `<!-- wp:paragraph -->
105 | <p>Bar</p>
106 | <!-- /wp:paragraph -->`
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:103:21
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L137
3) [chromium] › editor/various/splitting-merging.spec.js:110:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
<!-- wp:paragraph -->
- <p>First</p>
+ <p>F</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Still Second</p>
+ <p></p>
<!-- /wp:paragraph -->
135 |
136 | const content = await editor.getEditedPostContent();
> 137 | expect( content ).toBe(
| ^
138 | `<!-- wp:paragraph -->
139 | <p>First</p>
140 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:137:21
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L137
3) [chromium] › editor/various/splitting-merging.spec.js:110:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
<!-- wp:paragraph -->
- <p>First</p>
+ <p>F</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Still Second</p>
+ <p></p>
<!-- /wp:paragraph -->
135 |
136 | const content = await editor.getEditedPostContent();
> 137 | expect( content ).toBe(
| ^
138 | `<!-- wp:paragraph -->
139 | <p>First</p>
140 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:137:21
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L137
3) [chromium] › editor/various/splitting-merging.spec.js:110:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
<!-- wp:paragraph -->
- <p>First</p>
+ <p>F</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Still Second</p>
+ <p></p>
<!-- /wp:paragraph -->
135 |
136 | const content = await editor.getEditedPostContent();
> 137 | expect( content ).toBe(
| ^
138 | `<!-- wp:paragraph -->
139 | <p>First</p>
140 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:137:21
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L171
4) [chromium] › editor/various/splitting-merging.spec.js:148:2 › splitting and merging blocks (@Firefox, @WebKit) › should not merge paragraphs if the selection is not collapsed
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>Foo</p>
+ <p>F</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
169 | // Check the content.
170 | const content = await editor.getEditedPostContent();
> 171 | expect( content ).toBe(
| ^
172 | `<!-- wp:paragraph -->
173 | <p>Foo</p>
174 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:171:21
|
32 failed
[chromium] › editor/various/splitting-merging.spec.js:15:2 › splitting and merging blocks (@Firefox, @WebKit) › should split and merge paragraph blocks using Enter and Backspace
[chromium] › editor/various/splitting-merging.spec.js:85:2 › splitting and merging blocks (@Firefox, @WebKit) › should merge into inline boundary position
[chromium] › editor/various/splitting-merging.spec.js:110:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line
[chromium] › editor/various/splitting-merging.spec.js:148:2 › splitting and merging blocks (@Firefox, @WebKit) › should not merge paragraphs if the selection is not collapsed
[chromium] › editor/various/splitting-merging.spec.js:219:2 › splitting and merging blocks (@Firefox, @WebKit) › should forward delete from an empty paragraph
[chromium] › editor/various/splitting-merging.spec.js:258:2 › splitting and merging blocks (@Firefox, @WebKit) › should remove at most one paragraph in forward direction
[chromium] › editor/various/splitting-merging.spec.js:325:2 › splitting and merging blocks (@Firefox, @WebKit) › should undo split in one go
[chromium] › editor/various/splitting-merging.spec.js:420:3 › splitting and merging blocks (@Firefox, @WebKit) › test restore selection when merge produces more than one block › on forward delete
[chromium] › editor/various/splitting-merging.spec.js:440:3 › splitting and merging blocks (@Firefox, @WebKit) › test restore selection when merge produces more than one block › on backspace
[chromium] › editor/various/undo.spec.js:17:2 › undo › should undo typing after a pause ────────
[chromium] › editor/various/undo.spec.js:85:2 › undo › should undo typing after non input change
[chromium] › editor/various/undo.spec.js:162:2 › undo › should undo bold ───────────────────────
[chromium] › editor/various/undo.spec.js:187:2 › undo › Should undo/redo to expected level intervals
[chromium] › editor/various/undo.spec.js:324:2 › undo › should undo for explicit persistence editing post
[chromium] › editor/various/undo.spec.js:440:2 › undo › should be able to undo and redo when transient changes have been made and we update/publish
[chromium] › editor/various/undo.spec.js:470:2 › undo › should be able to undo and redo property cross property changes
[chromium] › editor/various/writing-flow.spec.js:21:2 › Writing Flow (@Firefox, @WebKit) › Should navigate inner blocks with arrow keys
[chromium] › editor/various/writing-flow.spec.js:104:2 › Writing Flow (@Firefox, @WebKit) › Should navigate between inner and root blocks in navigation mode
[chromium] › editor/various/writing-flow.spec.js:146:2 › Writing Flow (@Firefox, @WebKit) › should navigate around inline boundaries
[chromium] › editor/various/writing-flow.spec.js:223:2 › Writing Flow (@Firefox, @WebKit) › should navigate around nested inline boundaries
[chromium] › editor/various/writing-flow.spec.js:303:2 › Writing Flow (@Firefox, @WebKit) › should insert line break mid text
[chromium] › editor/various/writing-flow.spec.js:346:2 › Writing Flow (@Firefox, @WebKit) › should not create extra line breaks in multiline value
[chromium] › editor/various/writing-flow.spec.js:392:2 › Writing Flow (@Firefox, @WebKit) › should not delete surrounding space when deleting a word with Backspace
[chromium] › editor/various/writing-flow.spec.js:415:2 › Writing Flow (@Firefox, @WebKit) › should not delete surrounding space when deleting a word with Alt+Backspace
[chromium] › editor/various/writing-flow.spec.js:441:2 › Writing Flow (@Firefox, @WebKit) › should not delete surrounding space when deleting a selected word
[chromium] › editor/various/writing-flow.spec.js:565:2 › Writing Flow (@Firefox, @WebKit) › should not prematurely multi-select
[chromium] › editor/various/writing-flow.spec.js:607:2 › Writing Flow (@Firefox, @WebKit) › should merge and then split paragraphs
[chromium] › editor/various/writing-flow.spec.js:694:2 › Writing Flow (@Firefox,
|
The logs for this run have expired and are no longer available.
Loading