Rich text: Try debouncing useInput
to improve performance and fix infinite loop
#84848
Annotations
10 errors and 1 notice
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L199
1) [webkit] › editor/various/autocomplete-and-mentions.spec.js:167:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert two subsequent mentions
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option[name="Bilbo Baggins thebetterhobbit"i]')
- waiting for locator('role=option[name="Bilbo Baggins thebetterhobbit"i]')
197 | `role=option[name="${ testData.firstOptionText }"i]`
198 | )
> 199 | ).toBeVisible();
| ^
200 | await page.keyboard.press( 'Enter' );
201 | await page.keyboard.type( testData.secondTriggerString );
202 | await expect(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:199:6
|
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L199
1) [webkit] › editor/various/autocomplete-and-mentions.spec.js:167:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert two subsequent mentions
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option[name="Bilbo Baggins thebetterhobbit"i]')
- waiting for locator('role=option[name="Bilbo Baggins thebetterhobbit"i]')
197 | `role=option[name="${ testData.firstOptionText }"i]`
198 | )
> 199 | ).toBeVisible();
| ^
200 | await page.keyboard.press( 'Enter' );
201 | await page.keyboard.type( testData.secondTriggerString );
202 | await expect(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:199:6
|
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L199
1) [webkit] › editor/various/autocomplete-and-mentions.spec.js:167:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert two subsequent mentions
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option[name="Bilbo Baggins thebetterhobbit"i]')
- waiting for locator('role=option[name="Bilbo Baggins thebetterhobbit"i]')
197 | `role=option[name="${ testData.firstOptionText }"i]`
198 | )
> 199 | ).toBeVisible();
| ^
200 | await page.keyboard.press( 'Enter' );
201 | await page.keyboard.type( testData.secondTriggerString );
202 | await expect(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:199:6
|
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L315
2) [webkit] › 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
2) [webkit] › 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
2) [webkit] › 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#L414
3) [webkit] › editor/various/autocomplete-and-mentions.spec.js:347:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should allow newlines after multiple mention completions
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 4
+ Received + 4
<!-- wp:paragraph -->
- <p>@BuddytheElf test</p>
+ <p>@thebetterhobbit </p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>@BuddytheElf test</p>
+ <p>@admin </p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>@BuddytheElf test</p>
+ <p>@BuddytheElf t</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>@BuddytheElf test</p>
+ <p>@admin t</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) [webkit] › editor/various/autocomplete-and-mentions.spec.js:347:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should allow newlines after multiple mention completions
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 3
+ Received + 3
<!-- wp:paragraph -->
<p>@BuddytheElf test</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>@BuddytheElf test</p>
+ <p>@BuddytheElf tes</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>@BuddytheElf test</p>
+ <p>@BuddytheElf tes</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>@BuddytheElf test</p>
+ <p>@admin tes</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) [webkit] › editor/various/autocomplete-and-mentions.spec.js:347:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should allow newlines after multiple mention completions
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 14
+ Received + 6
<!-- wp:paragraph -->
- <p>@BuddytheElf test</p>
+ <p>@admin </p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>@BuddytheElf test</p>
- <!-- /wp:paragraph -->
-
- <!-- wp:paragraph -->
- <p>@BuddytheElf test</p>
- <!-- /wp:paragraph -->
-
- <!-- wp:paragraph -->
- <p>@BuddytheElf test</p>
- <!-- /wp:paragraph -->
-
- <!-- wp:paragraph -->
- <p></p>
+ <p>@admin@admin t</p>
+ <!-- /wp:paragraph -->
+
+ <!-- wp:paragraph -->
+ <p>@admin</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#L109
4) [webkit] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should insert option
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option[name="🍓 Strawberry"i]')
- waiting for locator('role=option[name="🍓 Strawberry"i]')
107 | await expect(
108 | page.locator( `role=option[name="${ testData.optionText }"i]` )
> 109 | ).toBeVisible();
| ^
110 | const ariaOwns = await editor.canvas.evaluate( () => {
111 | return document.activeElement.getAttribute( 'aria-owns' );
112 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:109:6
|
79 failed
[webkit] › editor/various/autocomplete-and-mentions.spec.js:167:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert two subsequent mentions
[webkit] › editor/various/autocomplete-and-mentions.spec.js:287:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should cancel mention selection via `Escape` keypress event
[webkit] › editor/various/autocomplete-and-mentions.spec.js:347:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should allow newlines after multiple mention completions
[webkit] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should insert option
[webkit] › editor/various/autocomplete-and-mentions.spec.js:131:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should insert option between two other words
[webkit] › editor/various/autocomplete-and-mentions.spec.js:167:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should insert two subsequent options
[webkit] › editor/various/autocomplete-and-mentions.spec.js:287:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should cancel option selection via `Escape` keypress event
[webkit] › editor/various/autocomplete-and-mentions.spec.js:326:4 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should not insert disabled options
[webkit] › editor/various/autocomplete-and-mentions.spec.js:347:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should allow newlines after multiple option completions
[webkit] › editor/various/autocomplete-and-mentions.spec.js:422:2 › Autocomplete (@Firefox, @WebKit) › should insert elements from multiple completers in a single block
[webkit] › editor/various/splitting-merging.spec.js:85:2 › splitting and merging blocks (@Firefox, @WebKit) › should merge into inline boundary position
[webkit] › editor/various/splitting-merging.spec.js:110:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line
[webkit] › editor/various/splitting-merging.spec.js:219:2 › splitting and merging blocks (@Firefox, @WebKit) › should forward delete from an empty paragraph
[webkit] › editor/various/splitting-merging.spec.js:258:2 › splitting and merging blocks (@Firefox, @WebKit) › should remove at most one paragraph in forward direction
[webkit] › 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
[webkit] › 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
[webkit] › editor/various/writing-flow.spec.js:21:2 › Writing Flow (@Firefox, @WebKit) › Should navigate inner blocks with arrow keys
[webkit] › editor/various/writing-flow.spec.js:146:2 › Writing Flow (@Firefox, @WebKit) › should navigate around inline boundaries
[webkit] › editor/various/writing-flow.spec.js:441:2 › Writing Flow (@Firefox, @WebKit) › should not delete surrounding space when deleting a selected word
[webkit] › editor/various/writing-flow.spec.js:565:2 › Writing Flow (@Firefox, @WebKit) › should not prematurely multi-select
[webkit] › editor/various/writing-flow.spec.js:982:2 › Writing Flow (@Firefox, @WebKit) › should prevent browser default formatting on multi selection
[firefox] › editor/blocks/list.spec.js:11:2 › List (@Firefox) › can be created by using an asterisk at the start of a paragraph block
[firefox] › editor/blocks/list.spec.js:35:2 › List (@Firefox) › can be created by typing an asterisk in front of text of a paragraph block
[firefox] › editor/blocks/list.spec.js:54:2 › List (@Firefox) › can be created by using a number at the start of a paragraph block
[firefox] › editor/blocks/list.spec.js:71:2 › List (@Firefox) › can undo asterisk transform ────
[firefox] › editor/blocks/list.spec.js:170:2 › List (@Firefox) › should not undo asterisk transfor
|
The logs for this run have expired and are no longer available.
Loading