Rich text: Try debouncing useInput
to improve performance and fix infinite loop
#85486
Annotations
10 errors and 1 notice
test/e2e/specs/editor/various/splitting-merging.spec.js#L137
1) [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 - 1
+ Received + 1
<!-- wp:paragraph -->
<p>First</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Still Second</p>
+ <p>Still Secon</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
1) [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 - 1
+ Received + 1
<!-- wp:paragraph -->
<p>First</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Still Second</p>
+ <p>Still Sec</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
1) [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 - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>First</p>
+ <p>F</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Still Second</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/undo.spec.js#L28
2) [chromium] › editor/various/undo.spec.js:17:2 › undo › should undo typing after a pause ───────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "before pause after pause",
+ "content": "before pause ",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
26 | await page.keyboard.type( ' after pause' );
27 |
> 28 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
29 | {
30 | name: 'core/paragraph',
31 | attributes: { content: 'before pause after pause' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:28:3
|
test/e2e/specs/editor/various/undo.spec.js#L28
2) [chromium] › editor/various/undo.spec.js:17:2 › undo › should undo typing after a pause ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "before pause after pause",
+ "content": "before pause af",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
26 | await page.keyboard.type( ' after pause' );
27 |
> 28 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
29 | {
30 | name: 'core/paragraph',
31 | attributes: { content: 'before pause after pause' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:28:3
|
test/e2e/specs/editor/various/undo.spec.js#L28
2) [chromium] › editor/various/undo.spec.js:17:2 › undo › should undo typing after a pause ───────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "before pause after pause",
+ "content": "before pause after",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
26 | await page.keyboard.type( ' after pause' );
27 |
> 28 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
29 | {
30 | name: 'core/paragraph',
31 | attributes: { content: 'before pause after pause' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:28:3
|
test/e2e/specs/editor/various/undo.spec.js#L97
3) [chromium] › editor/various/undo.spec.js:85:2 › undo › should undo typing after non input change
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "before keyboard <strong>after keyboard</strong>",
+ "content": "b<strong>after key</strong>",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
95 | await page.keyboard.type( 'after keyboard' );
96 |
> 97 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
98 | {
99 | name: 'core/paragraph',
100 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:97:3
|
test/e2e/specs/editor/various/undo.spec.js#L97
3) [chromium] › editor/various/undo.spec.js:85:2 › undo › should undo typing after non input change
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "before keyboard <strong>after keyboard</strong>",
+ "content": "before keyboar<strong>after keyboard</strong>",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
95 | await page.keyboard.type( 'after keyboard' );
96 |
> 97 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
98 | {
99 | name: 'core/paragraph',
100 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:97:3
|
test/e2e/specs/editor/various/undo.spec.js#L97
3) [chromium] › editor/various/undo.spec.js:85:2 › undo › should undo typing after non input change
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "before keyboard <strong>after keyboard</strong>",
+ "content": "before keybo<strong>after keyboard</strong>",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
95 | await page.keyboard.type( 'after keyboard' );
96 |
> 97 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
98 | {
99 | name: 'core/paragraph',
100 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:97:3
|
test/e2e/specs/editor/various/undo.spec.js#L227
4) [chromium] › editor/various/undo.spec.js:187:2 › undo › Should undo/redo to expected level intervals
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Object {
"blockIndex": 1,
- "endOffset": 2,
- "startOffset": 2,
+ "endOffset": 1,
+ "startOffset": 1,
}
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
225 |
226 | await expect.poll( editor.getEditedPostContent ).toBe( secondText );
> 227 | await expect.poll( undoUtils.getSelection ).toEqual( {
| ^
228 | blockIndex: 1,
229 | startOffset: 'is'.length,
230 | endOffset: 'is'.length,
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:227:3
|
8 failed
[chromium] › editor/various/splitting-merging.spec.js:110:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line
[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:187:2 › undo › Should undo/redo to expected level intervals
[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:146:2 › Writing Flow (@Firefox, @WebKit) › should navigate around inline boundaries
[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:772:2 › Writing Flow (@Firefox, @WebKit) › should extend selection into paragraph for list with longer last item
6 flaky
[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: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: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:324:2 › undo › should undo for explicit persistence editing post
[chromium] › editor/various/writing-flow.spec.js:607:2 › Writing Flow (@Firefox, @WebKit) › should merge and then split paragraphs
1 skipped
216 passed (18.8m)
|
The logs for this run have expired and are no longer available.
Loading