Rich text: Try debouncing useInput
to improve performance and fix infinite loop
#85486
Annotations
10 errors and 1 notice
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L315
1) [chromium] › editor/various/autocomplete-and-mentions.spec.js:287:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should cancel mention selection via `Escape` keypress event
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option[name="Jane Doe testuser"i]')
- waiting for locator('role=option[name="Jane Doe testuser"i]')
313 | await expect(
314 | page.locator( `role=option[name="${ testData.optionText }"i]` )
> 315 | ).toBeVisible();
| ^
316 | await page.keyboard.press( 'Escape' );
317 | await page.keyboard.type( testData.postCompleterInput );
318 | // The characters before `Escape` should remain (i.e. `~app`)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:315:6
|
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L315
1) [chromium] › editor/various/autocomplete-and-mentions.spec.js:287:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should cancel mention selection via `Escape` keypress event
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option[name="Jane Doe testuser"i]')
- waiting for locator('role=option[name="Jane Doe testuser"i]')
313 | await expect(
314 | page.locator( `role=option[name="${ testData.optionText }"i]` )
> 315 | ).toBeVisible();
| ^
316 | await page.keyboard.press( 'Escape' );
317 | await page.keyboard.type( testData.postCompleterInput );
318 | // The characters before `Escape` should remain (i.e. `~app`)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:315:6
|
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L315
1) [chromium] › editor/various/autocomplete-and-mentions.spec.js:287:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should cancel mention selection via `Escape` keypress event
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option[name="Jane Doe testuser"i]')
- waiting for locator('role=option[name="Jane Doe testuser"i]')
313 | await expect(
314 | page.locator( `role=option[name="${ testData.optionText }"i]` )
> 315 | ).toBeVisible();
| ^
316 | await page.keyboard.press( 'Escape' );
317 | await page.keyboard.type( testData.postCompleterInput );
318 | // The characters before `Escape` should remain (i.e. `~app`)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:315:6
|
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L337
2) [chromium] › editor/various/autocomplete-and-mentions.spec.js:326:4 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should not insert disabled options
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option').filter({ hasText: '🍇 Grape' })
- waiting for locator('role=option').filter({ hasText: '🍇 Grape' })
335 | await expect(
336 | page.locator( 'role=option', { hasText: '🍇 Grape' } )
> 337 | ).toBeVisible();
| ^
338 | await page.keyboard.press( 'Enter' );
339 | await page.keyboard.type( ' grapes.' );
340 | await expect.poll( editor.getEditedPostContent )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:337:7
|
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L340
2) [chromium] › editor/various/autocomplete-and-mentions.spec.js:326:4 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should not insert disabled options
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>Sorry, we are all out of ~g grapes.</p>
+ <p>Sorry, we are all out of 🍎 grape</p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
338 | await page.keyboard.press( 'Enter' );
339 | await page.keyboard.type( ' grapes.' );
> 340 | await expect.poll( editor.getEditedPostContent )
| ^
341 | .toBe( `<!-- wp:paragraph -->
342 | <p>Sorry, we are all out of ~g grapes.</p>
343 | <!-- /wp:paragraph -->` );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:340:5
|
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L337
2) [chromium] › editor/various/autocomplete-and-mentions.spec.js:326:4 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should not insert disabled options
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option').filter({ hasText: '🍇 Grape' })
- waiting for locator('role=option').filter({ hasText: '🍇 Grape' })
335 | await expect(
336 | page.locator( 'role=option', { hasText: '🍇 Grape' } )
> 337 | ).toBeVisible();
| ^
338 | await page.keyboard.press( 'Enter' );
339 | await page.keyboard.type( ' grapes.' );
340 | await expect.poll( editor.getEditedPostContent )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:337:7
|
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L414
3) [chromium] › editor/various/autocomplete-and-mentions.spec.js:347:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should allow newlines after multiple option completions
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 3
+ Received + 3
<!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🫐 </p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🍎 test</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>🫐 test</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🍎 test</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
412 | }
413 |
> 414 | await expect
| ^
415 | .poll( editor.getEditedPostContent )
416 | .toBe( testData.snapshot );
417 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:414:4
|
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L414
3) [chromium] › editor/various/autocomplete-and-mentions.spec.js:347:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should allow newlines after multiple option completions
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
@@ -9,11 +9,11 @@
<!-- wp:paragraph -->
<p>🫐 test</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🍎 </p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
412 | }
413 |
> 414 | await expect
| ^
415 | .poll( editor.getEditedPostContent )
416 | .toBe( testData.snapshot );
417 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:414:4
|
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L414
3) [chromium] › editor/various/autocomplete-and-mentions.spec.js:347:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should allow newlines after multiple option completions
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
@@ -1,15 +1,15 @@
<!-- wp:paragraph -->
<p>🫐 test</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🫐 </p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🍎 </p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>🫐 test</p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
412 | }
413 |
> 414 | await expect
| ^
415 | .poll( editor.getEditedPostContent )
416 | .toBe( testData.snapshot );
417 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:414:4
|
test/e2e/specs/editor/various/block-hierarchy-navigation.spec.js#L150
4) [chromium] › editor/various/block-hierarchy-navigation.spec.js:95:2 › Navigating the block hierarchy › should navigate block hierarchy using only the keyboard
Error: expect(received).toMatchObject(expected)
- Expected - 2
+ Received + 2
@@ -3,11 +3,11 @@
"innerBlocks": Array [
Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "First column",
+ "content": "First col",
},
"name": "core/paragraph",
},
],
"name": "core/column",
@@ -17,11 +17,11 @@
},
Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "Third column",
+ "content": "Thi",
},
"name": "core/paragraph",
},
],
"name": "core/column",
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
148 | await page.keyboard.type( 'Third column' );
149 |
> 150 | await expect.poll( editor.getBlocks ).toMatchObject( COLUMNS_BLOCK );
| ^
151 | } );
152 |
153 | test( 'should appear and function even without nested blocks', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-hierarchy-navigation.spec.js:150:3
|
27 failed
[chromium] › editor/various/autocomplete-and-mentions.spec.js:287:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should cancel mention selection via `Escape` keypress event
[chromium] › editor/various/autocomplete-and-mentions.spec.js:326:4 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should not insert disabled options
[chromium] › editor/various/autocomplete-and-mentions.spec.js:347:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should allow newlines after multiple option completions
[chromium] › editor/various/block-hierarchy-navigation.spec.js:95:2 › Navigating the block hierarchy › should navigate block hierarchy using only the keyboard
[chromium] › editor/various/block-hierarchy-navigation.spec.js:153:2 › Navigating the block hierarchy › should appear and function even without nested blocks
[chromium] › editor/various/block-hierarchy-navigation.spec.js:188:2 › Navigating the block hierarchy › should select the wrapper div for a group
[chromium] › editor/various/block-moving-mode.spec.js:47:2 › Block moving mode › can move block in the nested block
[chromium] › editor/various/copy-cut-paste.spec.js:327:2 › Copy/cut/paste › should cut/paste partial selection with other blocks in-between
[chromium] › editor/various/copy-cut-paste.spec.js:355:2 › Copy/cut/paste › should cut partial selection and merge like a normal `delete` - not forward
[chromium] › editor/various/copy-cut-paste.spec.js:382:2 › Copy/cut/paste › should paste plain text in plain text context when cross block selection is copied
[chromium] › editor/various/font-size-picker.spec.js:191:3 › Font Size Picker › More font sizes › should reset a named font size using input field
[chromium] › editor/various/font-size-picker.spec.js:248:3 › Font Size Picker › Few font sizes › should reset a named font size using the tools panel menu
[chromium] › editor/various/footnotes.spec.js:29:2 › Footnotes › can be inserted ───────────────
[chromium] › editor/various/footnotes.spec.js:188:2 › Footnotes › can be inserted in a list ────
[chromium] › editor/various/footnotes.spec.js:284:2 › Footnotes › works with revisions ─────────
[chromium] › editor/various/keep-styles-on-block-transforms.spec.js:11:2 › Keep styles on block transforms › Should keep colors during a transform
[chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post
[chromium] › editor/various/preview.spec.js:102:2 › Preview › should not revert title during a preview right after a save draft
[chromium] › editor/various/preview.spec.js:152:2 › Preview › should display the correct preview when switching between published and draft statuses
[chromium] › editor/various/rich-text.spec.js:113:2 › RichText › should return focus when pressing formatting button
[chromium] › editor/various/rich-text.spec.js:132:2 › RichText › should transform backtick to code
[chromium] › editor/various/rich-text.spec.js:154:2 › RichText › should undo backtick transform with backspace
[chromium] › editor/various/rich-text.spec.js:170:2 › RichText › should not undo backtick transform with backspace after typing
[chromium] › editor/various/rich-text.spec.js:183:2 › RichText › should not undo backtick transform with backspace after selection change
[chromium] › editor/various/rich-text.spec.js:199:2 › RichText › should not format text after code backtick
[chromium] › editor/various/rich-text.spec.js:624:2 › RichText › should paste paragraph contents into list
[chromium] › editor/various/rich-text.spec.js:666:2 › RichText › should paste list contents into paragraph
16 flaky
[chromium] › editor/various/autocomplete-and-mentions.spec.js:167:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should insert two subsequent options
[chromium] › editor/various/autocomplete-and-mentions.spec.js:287:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should cancel option selection via `Escape` keypress event
|
The logs for this run have expired and are no longer available.
Loading