Rich text: Try debouncing useInput
to improve performance and fix infinite loop
#85486
Annotations
8 errors
packages/e2e-tests/specs/editor/various/inserting-blocks.test.js#L209
Error: expect(received).toMatchSnapshot()
Snapshot name: `Inserting blocks inserts blocks at root level when using the root appender while selection is in an inner block 1`
- Snapshot - 1
+ Received + 1
@@ -1,8 +1,8 @@
"<!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button -->
- <div class="wp-block-button"><a class="wp-block-button__link wp-element-button">1.1</a></div>
+ <div class="wp-block-button"><a class="wp-block-button__link wp-element-button">1</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->
<!-- wp:paragraph -->
<p>2</p>
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/inserting-blocks.test.js:209:42)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/various/inserting-blocks.test.js#L223
Error: expect(received).toMatchSnapshot()
Snapshot name: `Inserting blocks inserts a block in proper place after having clicked \`Browse All\` from inline inserter 1`
- Snapshot - 2
+ Received + 2
"<!-- wp:paragraph -->
<p>First paragraph</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
- <h2 class="wp-block-heading">Heading</h2>
+ <h2 class="wp-block-heading">Head</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>Second paragraph</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Third paragraph</p>
+ <p>Third parag</p>
<!-- /wp:paragraph -->"
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/inserting-blocks.test.js:223:42)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/various/autosave.test.js#L123
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>before save after save</p>
+ <p>before save </p>
<!-- /wp:paragraph -->
at Object.toEqual (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/autosave.test.js:123:42)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/plugins/cpt-locking.test.js#L100
Error: expect(received).toMatchSnapshot()
Snapshot name: `cpt locking template_lock all should insert line breaks when using enter and shift-enter 1`
- Snapshot - 1
+ Received + 1
@@ -1,11 +1,11 @@
"<!-- wp:image -->
<figure class="wp-block-image"><img alt=""/></figure>
<!-- /wp:image -->
<!-- wp:paragraph {"placeholder":"Add a description"} -->
- <p>First line<br>Second line<br>Third line</p>
+ <p>First lin<br><br>Third line</p>
<!-- /wp:paragraph -->
<!-- wp:quote -->
<blockquote class="wp-block-quote"><!-- wp:paragraph -->
<p></p>
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/plugins/cpt-locking.test.js:100:43)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/plugins/cpt-locking.test.js#L59
Error: expect(received).toMatchSnapshot()
Snapshot name: `cpt locking template_lock false should allow blocks to be moved 1`
- Snapshot - 1
+ Received + 1
@@ -1,7 +1,7 @@
"<!-- wp:paragraph {"placeholder":"Add a description"} -->
- <p>p1</p>
+ <p>p</p>
<!-- /wp:paragraph -->
<!-- wp:image -->
<figure class="wp-block-image"><img alt=""/></figure>
<!-- /wp:image -->
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/plugins/cpt-locking.test.js:59:42)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/plugins/cpt-locking.test.js#L59
Error: expect(received).toMatchSnapshot()
Snapshot name: `cpt locking template_lock all unlocked group should allow blocks to be moved 1`
- Snapshot - 1
+ Received + 1
@@ -1,8 +1,8 @@
"<!-- wp:group {"templateLock":false} -->
<div class="wp-block-group"><!-- wp:paragraph {"placeholder":"Add a description"} -->
- <p>p1</p>
+ <p>p</p>
<!-- /wp:paragraph -->
<!-- wp:quote -->
<blockquote class="wp-block-quote"><!-- wp:paragraph -->
<p></p>
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/plugins/cpt-locking.test.js:59:42)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/various/editor-modes.test.js#L154
Error: expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `Editing modes (visual/HTML) saves content when using the shortcut in the Code Editor 1`
- Snapshot - 2
+ Received + 6
<!-- wp:paragraph -->
- <p>Hi world!</p>
+ <p></p>
+ <!-- /wp:paragraph -->
+
+ <!-- wp:paragraph -->
+ <p>Hello world!</p>
- <!-- /wp:paragraph -->
+ <!-- /wp:paragraph -->Hi
at Object.toMatchInlineSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/editor-modes.test.js:154: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