Rich text: Try debouncing useInput
to improve performance and fix infinite loop
#84848
Annotations
10 errors and 1 notice
test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js#L117
1) [chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:106:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('button', { name: 'Add block' })
- waiting for getByRole('button', { name: 'Add block' })
115 | name: 'Add block',
116 | } );
> 117 | await expect( blockAppender ).toBeVisible();
| ^
118 | await blockAppender.click();
119 |
120 | const blockListBox = page.getByRole( 'listbox', { name: 'Blocks' } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js:117:33
|
test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js#L117
1) [chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:106:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('button', { name: 'Add block' })
- waiting for getByRole('button', { name: 'Add block' })
115 | name: 'Add block',
116 | } );
> 117 | await expect( blockAppender ).toBeVisible();
| ^
118 | await blockAppender.click();
119 |
120 | const blockListBox = page.getByRole( 'listbox', { name: 'Blocks' } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js:117:33
|
test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js#L117
1) [chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:106:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('button', { name: 'Add block' })
- waiting for getByRole('button', { name: 'Add block' })
115 | name: 'Add block',
116 | } );
> 117 | await expect( blockAppender ).toBeVisible();
| ^
118 | await blockAppender.click();
119 |
120 | const blockListBox = page.getByRole( 'listbox', { name: 'Blocks' } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js:117:33
|
test/e2e/specs/editor/various/adding-inline-tokens.spec.js#L55
2) [chromium] › editor/various/adding-inline-tokens.spec.js:19:2 › adding inline tokens › should insert inline image
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": StringMatching /a <img class="wp-image-\d+" style="width:\s*10px;?" src="[^"]+\/5cf55d4c-767f-40be-9ab8-5a6e9326ede1\.png" alt=""\/?>/,
+ "content": "a<img class=\"wp-image-36\" style=\"width: 10px;\" src=\"http://localhost:8889/wp-content/uploads/2023/09/5cf55d4c-767f-40be-9ab8-5a6e9326ede1.png\" alt=\"\">",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
53 | `a <img class="wp-image-\\d+" style="width:\\s*10px;?" src="[^"]+\\/${ filename }\\.png" alt=""\\/?>`
54 | );
> 55 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
56 | {
57 | name: 'core/paragraph',
58 | attributes: { content: expect.stringMatching( contentRegex ) },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/adding-inline-tokens.spec.js:55:3
|
test/e2e/specs/editor/various/adding-inline-tokens.spec.js#L55
2) [chromium] › editor/various/adding-inline-tokens.spec.js:19:2 › adding inline tokens › should insert inline image
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": StringMatching /a <img class="wp-image-\d+" style="width:\s*10px;?" src="[^"]+\/279a02e6-382b-4696-8f39-9ea7f7a4b86b\.png" alt=""\/?>/,
+ "content": "a<img class=\"wp-image-38\" style=\"width: 10px;\" src=\"http://localhost:8889/wp-content/uploads/2023/09/279a02e6-382b-4696-8f39-9ea7f7a4b86b.png\" alt=\"\">",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
53 | `a <img class="wp-image-\\d+" style="width:\\s*10px;?" src="[^"]+\\/${ filename }\\.png" alt=""\\/?>`
54 | );
> 55 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
56 | {
57 | name: 'core/paragraph',
58 | attributes: { content: expect.stringMatching( contentRegex ) },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/adding-inline-tokens.spec.js:55:3
|
test/e2e/specs/editor/various/adding-inline-tokens.spec.js#L55
2) [chromium] › editor/various/adding-inline-tokens.spec.js:19:2 › adding inline tokens › should insert inline image
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": StringMatching /a <img class="wp-image-\d+" style="width:\s*10px;?" src="[^"]+\/b778081e-fd53-4905-8a71-d1f843d9a6d2\.png" alt=""\/?>/,
+ "content": "a<img class=\"wp-image-40\" style=\"width: 10px;\" src=\"http://localhost:8889/wp-content/uploads/2023/09/b778081e-fd53-4905-8a71-d1f843d9a6d2.png\" alt=\"\">",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
53 | `a <img class="wp-image-\\d+" style="width:\\s*10px;?" src="[^"]+\\/${ filename }\\.png" alt=""\\/?>`
54 | );
> 55 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
56 | {
57 | name: 'core/paragraph',
58 | attributes: { content: expect.stringMatching( contentRegex ) },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/adding-inline-tokens.spec.js:55:3
|
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L109
3) [chromium] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option[name="Darth Vader yourfather"i]')
- waiting for locator('role=option[name="Darth Vader yourfather"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
|
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L109
3) [chromium] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option[name="Darth Vader yourfather"i]')
- waiting for locator('role=option[name="Darth Vader yourfather"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
|
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L109
3) [chromium] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option[name="Darth Vader yourfather"i]')
- waiting for locator('role=option[name="Darth Vader yourfather"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
|
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L162
4) [chromium] › editor/various/autocomplete-and-mentions.spec.js:131:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention between two other words
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>Stuck in the middle with @testuser you.</p>
+ <p>Stuck in the middle with @admin you.</p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
160 | await page.keyboard.press( 'Enter' );
161 | await page.keyboard.type( ' ' );
> 162 | await expect
| ^
163 | .poll( editor.getEditedPostContent )
164 | .toBe( testData.snapshot );
165 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:162:4
|
81 failed
[chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:106:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions
[chromium] › editor/various/adding-inline-tokens.spec.js:19:2 › adding inline tokens › should insert inline image
[chromium] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention
[chromium] › editor/various/autocomplete-and-mentions.spec.js:131:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention between two other words
[chromium] › editor/various/autocomplete-and-mentions.spec.js:167:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert two subsequent mentions
[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:347:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should allow newlines after multiple mention completions
[chromium] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should insert option
[chromium] › editor/various/autocomplete-and-mentions.spec.js:131:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should insert option between two other words
[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
[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/autocomplete-and-mentions.spec.js:422:2 › Autocomplete (@Firefox, @WebKit) › should insert elements from multiple completers in a single block
[chromium] › editor/various/block-deletion.spec.js:11:2 › Block deletion › deleting the last block via its options menu
[chromium] › editor/various/block-deletion.spec.js:108:2 › Block deletion › deleting the last block via the keyboard shortcut
[chromium] › editor/various/block-deletion.spec.js:156:2 › Block deletion › deleting the last block via backspace from an empty paragraph
[chromium] › editor/various/block-deletion.spec.js:198:2 › Block deletion › deleting last selected block via backspace
[chromium] › editor/various/block-hierarchy-navigation.spec.js:40:2 › Navigating the block hierarchy › should navigate using the list view sidebar
[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-locking.spec.js:49:2 › Block Locking › can lock everything ───
[chromium] › editor/various/block-locking.spec.js:64:2 › Block Locking › can unlock from toolbar
[chromium] › editor/various/block-moving-mode.spec.js:47:2 › Block moving mode › can move block in the nested block
[chromium] › editor/various/content-only-lock.spec.js:11:2 › Content-only lock › should be able to edit the content of blocks with content-only lock
[chromium] › editor/various/content-only-lock.spec.js:34:2 › Content-only lock › should be able to edit the content of de
|
The logs for this run have expired and are no longer available.
Loading