Skip to content

Rich text: Try debouncing useInput to improve performance and fix infinite loop #84848

Rich text: Try debouncing useInput to improve performance and fix infinite loop

Rich text: Try debouncing useInput to improve performance and fix infinite loop #84848

Triggered via pull request September 26, 2023 10:26
Status Failure
Total duration 1h 15m 21s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 31s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

61 errors and 3 notices
Playwright - 1
Process completed with exit code 1.
Puppeteer - 1: 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)
Puppeteer - 1: 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)
Puppeteer - 1: 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)
Puppeteer - 1: 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)
Puppeteer - 1: 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)
Puppeteer - 1: 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)
Puppeteer - 1: 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)
Puppeteer - 1: 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)
Puppeteer - 1: 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)
Puppeteer - 1: 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)
Puppeteer - 2: 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)
Puppeteer - 2: 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)
Puppeteer - 2: 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)
Puppeteer - 2: 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)
Puppeteer - 2: 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)
Puppeteer - 2: 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)
Puppeteer - 2: 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)
Puppeteer - 2: 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)
Puppeteer - 2: 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)
Puppeteer - 2: 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)
[chromium] › editor/various/splitting-merging.spec.js:15:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L32
1) [chromium] › editor/various/splitting-merging.spec.js:15:2 › splitting and merging blocks (@Firefox, @WebKit) › should split and merge paragraph blocks using Enter and Backspace Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 <!-- wp:paragraph --> - <p>First</p> + <p>F</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>Second</p> + <p></p> <!-- /wp:paragraph --> 30 | // Check the content. 31 | const content = await editor.getEditedPostContent(); > 32 | expect( content ).toBe( | ^ 33 | `<!-- wp:paragraph --> 34 | <p>First</p> 35 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:32:21
[chromium] › editor/various/splitting-merging.spec.js:15:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L32
1) [chromium] › editor/various/splitting-merging.spec.js:15:2 › splitting and merging blocks (@Firefox, @WebKit) › should split and merge paragraph blocks using Enter and Backspace Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 <!-- wp:paragraph --> - <p>First</p> + <p>F</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>Second</p> + <p></p> <!-- /wp:paragraph --> 30 | // Check the content. 31 | const content = await editor.getEditedPostContent(); > 32 | expect( content ).toBe( | ^ 33 | `<!-- wp:paragraph --> 34 | <p>First</p> 35 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:32:21
[chromium] › editor/various/splitting-merging.spec.js:15:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L32
1) [chromium] › editor/various/splitting-merging.spec.js:15:2 › splitting and merging blocks (@Firefox, @WebKit) › should split and merge paragraph blocks using Enter and Backspace Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 <!-- wp:paragraph --> - <p>First</p> + <p>F</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>Second</p> + <p></p> <!-- /wp:paragraph --> 30 | // Check the content. 31 | const content = await editor.getEditedPostContent(); > 32 | expect( content ).toBe( | ^ 33 | `<!-- wp:paragraph --> 34 | <p>First</p> 35 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:32:21
[chromium] › editor/various/splitting-merging.spec.js:85:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L103
2) [chromium] › editor/various/splitting-merging.spec.js:85:2 › splitting and merging blocks (@Firefox, @WebKit) › should merge into inline boundary position Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> - <p>Bar</p> + <p>B</p> <!-- /wp:paragraph --> 101 | 102 | const content = await editor.getEditedPostContent(); > 103 | expect( content ).toBe( | ^ 104 | `<!-- wp:paragraph --> 105 | <p>Bar</p> 106 | <!-- /wp:paragraph -->` at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:103:21
[chromium] › editor/various/splitting-merging.spec.js:85:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L103
2) [chromium] › editor/various/splitting-merging.spec.js:85:2 › splitting and merging blocks (@Firefox, @WebKit) › should merge into inline boundary position Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> - <p>Bar</p> + <p>B</p> <!-- /wp:paragraph --> 101 | 102 | const content = await editor.getEditedPostContent(); > 103 | expect( content ).toBe( | ^ 104 | `<!-- wp:paragraph --> 105 | <p>Bar</p> 106 | <!-- /wp:paragraph -->` at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:103:21
[chromium] › editor/various/splitting-merging.spec.js:85:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L103
2) [chromium] › editor/various/splitting-merging.spec.js:85:2 › splitting and merging blocks (@Firefox, @WebKit) › should merge into inline boundary position Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> - <p>Bar</p> + <p>B</p> <!-- /wp:paragraph --> 101 | 102 | const content = await editor.getEditedPostContent(); > 103 | expect( content ).toBe( | ^ 104 | `<!-- wp:paragraph --> 105 | <p>Bar</p> 106 | <!-- /wp:paragraph -->` at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:103:21
[chromium] › editor/various/splitting-merging.spec.js:110:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L137
3) [chromium] › editor/various/splitting-merging.spec.js:110:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 <!-- wp:paragraph --> - <p>First</p> + <p>F</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>Still Second</p> + <p></p> <!-- /wp:paragraph --> 135 | 136 | const content = await editor.getEditedPostContent(); > 137 | expect( content ).toBe( | ^ 138 | `<!-- wp:paragraph --> 139 | <p>First</p> 140 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:137:21
[chromium] › editor/various/splitting-merging.spec.js:110:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L137
3) [chromium] › editor/various/splitting-merging.spec.js:110:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 <!-- wp:paragraph --> - <p>First</p> + <p>F</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>Still Second</p> + <p></p> <!-- /wp:paragraph --> 135 | 136 | const content = await editor.getEditedPostContent(); > 137 | expect( content ).toBe( | ^ 138 | `<!-- wp:paragraph --> 139 | <p>First</p> 140 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:137:21
[chromium] › editor/various/splitting-merging.spec.js:110:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L137
3) [chromium] › editor/various/splitting-merging.spec.js:110:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 <!-- wp:paragraph --> - <p>First</p> + <p>F</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>Still Second</p> + <p></p> <!-- /wp:paragraph --> 135 | 136 | const content = await editor.getEditedPostContent(); > 137 | expect( content ).toBe( | ^ 138 | `<!-- wp:paragraph --> 139 | <p>First</p> 140 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:137:21
[chromium] › editor/various/splitting-merging.spec.js:148:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L171
4) [chromium] › editor/various/splitting-merging.spec.js:148:2 › splitting and merging blocks (@Firefox, @WebKit) › should not merge paragraphs if the selection is not collapsed Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> - <p>Foo</p> + <p>F</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p></p> <!-- /wp:paragraph --> 169 | // Check the content. 170 | const content = await editor.getEditedPostContent(); > 171 | expect( content ).toBe( | ^ 172 | `<!-- wp:paragraph --> 173 | <p>Foo</p> 174 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:171:21
Puppeteer - 3: packages/e2e-tests/specs/editor/various/links.test.js#L1
Error: Evaluation failed: TypeError: Cannot read properties of null (reading 'textContent') at __puppeteer_evaluation_script__:1:69 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 Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/links.test.js:61:22)
Puppeteer - 3: packages/e2e-tests/specs/editor/various/links.test.js#L133
Error: expect(received).toMatchSnapshot() Snapshot name: `Links can be created without any text selected 1` - Snapshot - 1 + Received + 1 "<!-- wp:paragraph --> - <p>This is Gutenberg: <a href="https://wordpress.org/gutenberg">https://wordpress.org/gutenberg</a></p> + <p>T<a href="https://wordpress.org/gutenberg">https://wordpress.org/gutenberg</a></p> <!-- /wp:paragraph -->" at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/links.test.js:133:42) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
Puppeteer - 3: packages/e2e-tests/specs/editor/various/links.test.js#L223
Error: expect(received).toMatchSnapshot() Snapshot name: `Links can be edited 1` - Snapshot - 1 + Received + 1 "<!-- wp:paragraph --> - <p>This is <a href="https://wordpress.org/gutenberg/handbook">Gutenberg</a></p> + <p>T<a href="https://wordpress.org/gutenberg">https://wordpress.org/</a><a href="https://wordpress.org/gutenberg/handbook">gutenberg</a></p> <!-- /wp:paragraph -->" at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/links.test.js:223:42) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
Puppeteer - 3: packages/e2e-tests/specs/editor/various/links.test.js#L239
Error: expect(received).toMatchSnapshot() Snapshot name: `Links can be removed 1` - Snapshot - 1 + Received + 1 "<!-- wp:paragraph --> - <p>This is Gutenberg</p> + <p>T<a href="https://wordpress.org/gutenberg">https://wordpress.org/</a>gutenberg</p> <!-- /wp:paragraph -->" at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/links.test.js:239:42) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
Puppeteer - 3: packages/e2e-tests/specs/editor/various/links.test.js#L311
Error: expect(received).toMatchSnapshot() Snapshot name: `Links can be edited with collapsed selection 1` - Snapshot - 1 + Received + 1 "<!-- wp:paragraph --> - <p>This is <a href="https://wordpress.org/gutenberg/handbook">Gutenberg</a></p> + <p>T<a href="https://wordpress.org/gutenberg/handbook">https://wordpress.org/gutenberg</a></p> <!-- /wp:paragraph -->" at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/links.test.js:311:42) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
Puppeteer - 3: packages/e2e-tests/specs/editor/various/links.test.js#L378
Error: expect(received).toMatchSnapshot() Snapshot name: `Links allows use of escape key to dismiss the url popover 1` - Snapshot - 1 + Received + 1 <!-- wp:paragraph --> - <p>This is Gutenberg.</p> + <p>T.</p> <!-- /wp:paragraph --> at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/links.test.js:378:42) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
Puppeteer - 3: packages/e2e-tests/specs/editor/various/links.test.js#L471
Error: expect(received).toMatchSnapshot() Snapshot name: `Links can be modified using the keyboard once a link has been set 1` - Snapshot - 1 + Received + 1 "<!-- wp:paragraph --> - <p>This is <a href="https://wordpress.org/gutenberg">Gutenberg</a>.</p> + <p>T<a href="https://wordpress.org/gutenberg">https://wordpress.org/gutenberg</a>.</p> <!-- /wp:paragraph -->" at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/links.test.js:471:42) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
Puppeteer - 3: packages/e2e-tests/specs/editor/various/links.test.js#L549
Error: expect(received).toBe(expected) // Object.is equality Expected: "Gutenberg" Received: "https://wordpress.org/gutenberg" at Object.toBe (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/links.test.js:549:24) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
Puppeteer - 3: packages/e2e-tests/specs/editor/various/links.test.js#L598
Error: expect(received).toBe(expected) // Object.is equality Expected: " spaces " Received: "https://wordpress.org/gutenberg" at Object.toBe (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/links.test.js:598:29) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
Puppeteer - 3: packages/e2e-tests/specs/editor/various/links.test.js#L630
Error: expect(received).toBe(expected) // Object.is equality Expected: "Gutenberg" Received: "https://wordpress.org/gutenberg" at Object.toBe (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/links.test.js:630:29) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
[chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:106:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions: 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
[chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:106:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions: 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
[chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:106:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions: 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
[chromium] › editor/various/adding-inline-tokens.spec.js:19:2 › adding inline tokens › should insert inline image: 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
[chromium] › editor/various/adding-inline-tokens.spec.js:19:2 › adding inline tokens › should insert inline image: 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
[chromium] › editor/various/adding-inline-tokens.spec.js:19:2 › adding inline tokens › should insert inline image: 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
[chromium] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@firefox: 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
[chromium] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@firefox: 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
[chromium] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@firefox: 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
[chromium] › editor/various/autocomplete-and-mentions.spec.js:131:3 › Autocomplete (@firefox: 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
[webkit] › editor/various/autocomplete-and-mentions.spec.js:167:3 › Autocomplete (@firefox: 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
[webkit] › editor/various/autocomplete-and-mentions.spec.js:167:3 › Autocomplete (@firefox: 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
[webkit] › editor/various/autocomplete-and-mentions.spec.js:167:3 › Autocomplete (@firefox: 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
[webkit] › editor/various/autocomplete-and-mentions.spec.js:287:3 › Autocomplete (@firefox: 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
[webkit] › editor/various/autocomplete-and-mentions.spec.js:287:3 › Autocomplete (@firefox: 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
[webkit] › editor/various/autocomplete-and-mentions.spec.js:287:3 › Autocomplete (@firefox: 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
[webkit] › editor/various/autocomplete-and-mentions.spec.js:347:3 › Autocomplete (@firefox: 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
[webkit] › editor/various/autocomplete-and-mentions.spec.js:347:3 › Autocomplete (@firefox: 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
[webkit] › editor/various/autocomplete-and-mentions.spec.js:347:3 › Autocomplete (@firefox: 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
[webkit] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@firefox: 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
🎭 Playwright Run Summary
32 failed [chromium] › editor/various/splitting-merging.spec.js:15:2 › splitting and merging blocks (@Firefox, @WebKit) › should split and merge paragraph blocks using Enter and Backspace [chromium] › editor/various/splitting-merging.spec.js:85:2 › splitting and merging blocks (@Firefox, @WebKit) › should merge into inline boundary position [chromium] › editor/various/splitting-merging.spec.js:110:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line [chromium] › editor/various/splitting-merging.spec.js:148:2 › splitting and merging blocks (@Firefox, @WebKit) › should not merge paragraphs if the selection is not collapsed [chromium] › editor/various/splitting-merging.spec.js:219:2 › splitting and merging blocks (@Firefox, @WebKit) › should forward delete from an empty paragraph [chromium] › editor/various/splitting-merging.spec.js:258:2 › splitting and merging blocks (@Firefox, @WebKit) › should remove at most one paragraph in forward direction [chromium] › editor/various/splitting-merging.spec.js:325:2 › splitting and merging blocks (@Firefox, @WebKit) › should undo split in one go [chromium] › 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 [chromium] › 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 [chromium] › editor/various/undo.spec.js:17:2 › undo › should undo typing after a pause ──────── [chromium] › editor/various/undo.spec.js:85:2 › undo › should undo typing after non input change [chromium] › editor/various/undo.spec.js:162:2 › undo › should undo bold ─────────────────────── [chromium] › editor/various/undo.spec.js:187:2 › undo › Should undo/redo to expected level intervals [chromium] › editor/various/undo.spec.js:324:2 › undo › should undo for explicit persistence editing post [chromium] › editor/various/undo.spec.js:440:2 › undo › should be able to undo and redo when transient changes have been made and we update/publish [chromium] › editor/various/undo.spec.js:470:2 › undo › should be able to undo and redo property cross property changes [chromium] › editor/various/writing-flow.spec.js:21:2 › Writing Flow (@Firefox, @WebKit) › Should navigate inner blocks with arrow keys [chromium] › editor/various/writing-flow.spec.js:104:2 › Writing Flow (@Firefox, @WebKit) › Should navigate between inner and root blocks in navigation mode [chromium] › editor/various/writing-flow.spec.js:146:2 › Writing Flow (@Firefox, @WebKit) › should navigate around inline boundaries [chromium] › editor/various/writing-flow.spec.js:223:2 › Writing Flow (@Firefox, @WebKit) › should navigate around nested inline boundaries [chromium] › editor/various/writing-flow.spec.js:303:2 › Writing Flow (@Firefox, @WebKit) › should insert line break mid text [chromium] › editor/various/writing-flow.spec.js:346:2 › Writing Flow (@Firefox, @WebKit) › should not create extra line breaks in multiline value [chromium] › editor/various/writing-flow.spec.js:392:2 › Writing Flow (@Firefox, @WebKit) › should not delete surrounding space when deleting a word with Backspace [chromium] › editor/various/writing-flow.spec.js:415:2 › Writing Flow (@Firefox, @WebKit) › should not delete surrounding space when deleting a word with Alt+Backspace [chromium] › editor/various/writing-flow.spec.js:441:2 › Writing Flow (@Firefox, @WebKit) › should not delete surrounding space when deleting a selected word [chromium] › editor/various/writing-flow.spec.js:565:2 › Writing Flow (@Firefox, @WebKit) › should not prematurely multi-select [chromium] › editor/various/writing-flow.spec.js:607:2 › Writing Flow (@Firefox, @WebKit) › should merge and then split paragraphs [chromium] › editor/various/writing-flow.spec.js:694:2 › Writing Flow (@Firefox,
🎭 Playwright Run Summary
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
🎭 Playwright Run Summary
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

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
1.11 GB
flaky-tests-report Expired
95 KB