Rich text: Try debouncing useInput
to improve performance and fix infinite loop
#84848
Annotations
10 errors
packages/e2e-tests/specs/widgets/editing-widgets.test.js#L829
Error: expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `Widgets screen Allows widget deletion to be undone 1`
- Snapshot - 4
+ Received + 1
{
"sidebar-1": "<div class="widget widget_block widget_text"><div class="widget-content">
- <p>First Paragraph</p>
- </div></div>
- <div class="widget widget_block widget_text"><div class="widget-content">
- <p>Second Paragraph</p>
+ <p>F</p>
</div></div>",
}
at Object.toMatchInlineSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/widgets/editing-widgets.test.js:829:35)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/various/change-detection.test.js#L813
TimeoutError: waiting for selector `.editor-post-save-draft` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22)
at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19)
at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25)
at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47)
at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29)
at Object.waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/change-detection.test.js:262:14)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/various/change-detection.test.js#L44
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
at toBe (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/change-detection.test.js:44:24)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/change-detection.test.js:291:3)
|
packages/e2e-tests/specs/editor/various/block-grouping.test.js#L58
Error: expect(received).toMatchSnapshot()
Snapshot name: `Block Grouping Group creation creates a group from multiple blocks of the same type via block transforms 1`
- Snapshot - 2
+ Received + 2
@@ -1,12 +1,12 @@
"<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
- <p>First Paragraph</p>
+ <p>F</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Second Paragraph</p>
+ <p>S</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Third Paragraph</p>
<!-- /wp:paragraph --></div>
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/block-grouping.test.js:58:43)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/various/block-grouping.test.js#L71
Error: expect(received).toMatchSnapshot()
Snapshot name: `Block Grouping Group creation creates a group from multiple blocks of different types via block transforms 1`
- Snapshot - 2
+ Received + 2
"<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:heading -->
- <h2 class="wp-block-heading">Group Heading</h2>
+ <h2 class="wp-block-heading">G</h2>
<!-- /wp:heading -->
<!-- wp:image -->
<figure class="wp-block-image"><img alt=""/></figure>
<!-- /wp:image -->
<!-- wp:paragraph -->
- <p>Some paragraph</p>
+ <p>S</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->"
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/block-grouping.test.js:71:43)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/various/block-grouping.test.js#L85
Error: expect(received).toMatchSnapshot()
Snapshot name: `Block Grouping Group creation creates a group from multiple blocks of the same type via options toolbar 1`
- Snapshot - 3
+ Received + 3
"<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
- <p>First Paragraph</p>
+ <p>F</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Second Paragraph</p>
+ <p>S</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Third Paragraph</p>
+ <p>T</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->"
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/block-grouping.test.js:85:43)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/various/block-grouping.test.js#L98
Error: expect(received).toMatchSnapshot()
Snapshot name: `Block Grouping Group creation groups and ungroups multiple blocks of different types via options toolbar 1`
- Snapshot - 2
+ Received + 2
"<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:heading -->
- <h2 class="wp-block-heading">Group Heading</h2>
+ <h2 class="wp-block-heading">G</h2>
<!-- /wp:heading -->
<!-- wp:image -->
<figure class="wp-block-image"><img alt=""/></figure>
<!-- /wp:image -->
<!-- wp:paragraph -->
- <p>Some paragraph</p>
+ <p>S</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->"
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/block-grouping.test.js:98:43)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/various/block-grouping.test.js#L135
Error: expect(received).toMatch(expected)
Expected substring: "hi"
Received string: "h"
at Object.toMatch (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/block-grouping.test.js:135:39)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/various/block-grouping.test.js#L246
Error: expect(received).toMatchSnapshot()
Snapshot name: `Block Grouping Preserving selected blocks attributes preserves width alignment settings of selected blocks 1`
- Snapshot - 2
+ Received + 2
@@ -1,8 +1,8 @@
"<!-- wp:group {"align":"full","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull"><!-- wp:heading -->
- <h2 class="wp-block-heading">Group Heading</h2>
+ <h2 class="wp-block-heading">G</h2>
<!-- /wp:heading -->
<!-- wp:image {"align":"full"} -->
<figure class="wp-block-image alignfull"><img alt=""/></figure>
<!-- /wp:image -->
@@ -10,8 +10,8 @@
<!-- wp:image {"align":"wide"} -->
<figure class="wp-block-image alignwide"><img alt=""/></figure>
<!-- /wp:image -->
<!-- wp:paragraph -->
- <p>Some paragraph</p>
+ <p>S</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->"
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/block-grouping.test.js:246:43)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/various/block-grouping.test.js#L280
Error: expect(received).toMatchSnapshot()
Snapshot name: `Block Grouping Registering alternative Blocks to handle Grouping interactions should use registered grouping block for grouping interactions 1`
- Snapshot - 3
+ Received + 3
<!-- wp:test/alternative-group-block -->
<!-- wp:paragraph -->
- <p>First Paragraph</p>
+ <p>F</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Second Paragraph</p>
+ <p>S</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Third Paragraph</p>
+ <p>T</p>
<!-- /wp:paragraph -->
<!-- /wp:test/alternative-group-block -->
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/block-grouping.test.js:280:43)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
The logs for this run have expired and are no longer available.
Loading