Rich text: Try debouncing useInput
to improve performance and fix infinite loop
#84848
Annotations
10 errors
packages/e2e-tests/specs/editor/various/inserting-blocks.test.js#L813
TimeoutError: waiting for XPath `//*[contains(@Class, "components-autocomplete__result") and contains(@Class, "is-selected") and contains(text(), 'Tag Cloud')]` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22)
at Frame.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47)
at Page.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3281:29)
at Object.waitForXPath (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/inserting-blocks.test.js:163:14)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
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 - 4
+ Received + 4
"<!-- wp:paragraph -->
- <p>First paragraph</p>
+ <p>F</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
- <h2 class="wp-block-heading">Heading</h2>
+ <h2 class="wp-block-heading">H</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
- <p>Second paragraph</p>
+ <p>S</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Third paragraph</p>
+ <p>T</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/inserting-blocks.test.js#L298
Error: expect(received).toMatchSnapshot()
Snapshot name: `Inserting blocks inserts a block in proper place after having clicked \`Browse All\` from block appender 1`
- Snapshot - 2
+ Received + 2
"<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
- <p>Paragraph inside group</p>
+ <p>P</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
<!-- wp:paragraph -->
- <p>Paragraph after group</p>
+ <p>P</p>
<!-- /wp:paragraph -->"
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/inserting-blocks.test.js:298:42)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/various/autosave.test.js#L96
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>before save after save</p>
+ <p>before save </p>
<!-- /wp:paragraph -->
at Object.toBe (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/autosave.test.js:96:21)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/various/autosave.test.js#L119
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>before save</p>
+ <p>b</p>
<!-- /wp:paragraph -->
at Object.toEqual (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/autosave.test.js:119:42)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/plugins/annotations.test.js#L112
Error: expect(received).toHaveLength(expected)
Expected length: 1
Received length: 0
Received array: []
at Object.toHaveLength (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/plugins/annotations.test.js:112:25)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/plugins/annotations.test.js#L145
Error: expect(received).toBe(expected) // Object.is equality
Expected: "ABCD"
Received: "AD"
at Object.toBe (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/plugins/annotations.test.js:145:18)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/editor/plugins/annotations.test.js#L1
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'innerText')
at __puppeteer_evaluation_script__:1:11
at ExecutionContext._evaluateInternal (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at ExecutionContext.evaluate (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
at getAnnotatedText (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/plugins/annotations.test.js:86:10)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/plugins/annotations.test.js:162:25)
|
packages/e2e-tests/specs/editor/plugins/annotations.test.js#L1
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'innerText')
at __puppeteer_evaluation_script__:1:11
at ExecutionContext._evaluateInternal (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at ExecutionContext.evaluate (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
at getAnnotatedText (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/plugins/annotations.test.js:86:10)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/plugins/annotations.test.js:182:25)
|
The logs for this run have expired and are no longer available.
Loading