Rich text: Try debouncing useInput
to improve performance and fix infinite loop
#85486
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
4m 11s
Annotations
52 errors and 4 notices
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 - 1
+ Received + 1
@@ -1,8 +1,8 @@
"<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
- <p>First Paragraph</p>
+ <p>First Paragrap</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Second Paragraph</p>
<!-- /wp:paragraph -->
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#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">Group Headi</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>Som</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>Fi</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Second Paragraph</p>
+ <p>Second Paragrap</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Third Paragraph</p>
+ <p>Third Paragrap</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 - 1:
packages/e2e-tests/specs/editor/plugins/plugins-api.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-plugin-plugins-api"] .deactivate a` 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 waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-plugin.js:29:13)
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/plugins/plugins-api.test.js:18:3)
|
Puppeteer - 1:
packages/e2e-tests/specs/editor/plugins/plugins-api.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-plugin-plugins-api"] .deactivate a` 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 waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-plugin.js:29:13)
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/plugins/plugins-api.test.js:18:3)
|
Puppeteer - 1:
packages/e2e-tests/specs/editor/plugins/plugins-api.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-plugin-plugins-api"] .deactivate a` 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 waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-plugin.js:29:13)
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/plugins/plugins-api.test.js:18:3)
|
Puppeteer - 1:
packages/e2e-tests/specs/editor/plugins/plugins-api.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-plugin-plugins-api"] .deactivate a` 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 waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-plugin.js:29:13)
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/plugins/plugins-api.test.js:18:3)
|
Puppeteer - 1:
packages/e2e-tests/specs/editor/plugins/plugins-api.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-plugin-plugins-api"] .deactivate a` 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 waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-plugin.js:29:13)
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/plugins/plugins-api.test.js:18:3)
|
Puppeteer - 1:
packages/e2e-tests/specs/editor/plugins/plugins-api.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-plugin-plugins-api"] .deactivate a` 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 waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-plugin.js:29:13)
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/plugins/plugins-api.test.js:18:3)
|
Puppeteer - 1:
packages/e2e-tests/specs/editor/plugins/plugins-api.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-plugin-plugins-api"] .deactivate a` 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 waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-plugin.js:29:13)
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/plugins/plugins-api.test.js:18:3)
|
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 - 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)
|
Puppeteer - 2:
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)
|
Puppeteer - 2:
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)
|
Puppeteer - 2:
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)
|
Puppeteer - 2:
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)
|
Puppeteer - 2:
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)
|
Puppeteer - 2
Process completed with exit code 1.
|
Puppeteer - 3:
packages/e2e-tests/specs/editor/various/pattern-blocks.test.js#L225
Error: expect(received).toMatchSnapshot()
Snapshot name: `Pattern blocks can be created from multiselection and converted back to regular blocks 1`
- Snapshot - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>Hello there!</p>
+ <p>H</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Second paragraph</p>
<!-- /wp:paragraph -->
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/pattern-blocks.test.js:225:42)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Puppeteer - 3:
packages/e2e-tests/specs/editor/various/block-switcher.test.js#L25
Error: expect(received).toBeTruthy()
Received: false
at Object.toBeTruthy (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/block-switcher.test.js:25:38)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Puppeteer - 3:
packages/e2e-tests/specs/editor/various/block-switcher.test.js#L52
Error: expect(received).toBeTruthy()
Received: false
at Object.toBeTruthy (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/block-switcher.test.js:52:38)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Puppeteer - 3
Process completed with exit code 1.
|
[chromium] › editor/various/splitting-merging.spec.js:110:2 › splitting and merging blocks (@firefox:
test/e2e/specs/editor/various/splitting-merging.spec.js#L137
1) [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 - 1
+ Received + 1
<!-- wp:paragraph -->
<p>First</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Still Second</p>
+ <p>Still Secon</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
1) [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 - 1
+ Received + 1
<!-- wp:paragraph -->
<p>First</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>Still Second</p>
+ <p>Still Sec</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
1) [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 - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>First</p>
+ <p>F</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Still Second</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/undo.spec.js:17:2 › undo › should undo typing after a pause:
test/e2e/specs/editor/various/undo.spec.js#L28
2) [chromium] › editor/various/undo.spec.js:17:2 › undo › should undo typing after a pause ───────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "before pause after pause",
+ "content": "before pause ",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
26 | await page.keyboard.type( ' after pause' );
27 |
> 28 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
29 | {
30 | name: 'core/paragraph',
31 | attributes: { content: 'before pause after pause' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:28:3
|
[chromium] › editor/various/undo.spec.js:17:2 › undo › should undo typing after a pause:
test/e2e/specs/editor/various/undo.spec.js#L28
2) [chromium] › editor/various/undo.spec.js:17:2 › undo › should undo typing after a pause ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "before pause after pause",
+ "content": "before pause af",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
26 | await page.keyboard.type( ' after pause' );
27 |
> 28 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
29 | {
30 | name: 'core/paragraph',
31 | attributes: { content: 'before pause after pause' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:28:3
|
[chromium] › editor/various/undo.spec.js:17:2 › undo › should undo typing after a pause:
test/e2e/specs/editor/various/undo.spec.js#L28
2) [chromium] › editor/various/undo.spec.js:17:2 › undo › should undo typing after a pause ───────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "before pause after pause",
+ "content": "before pause after",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
26 | await page.keyboard.type( ' after pause' );
27 |
> 28 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
29 | {
30 | name: 'core/paragraph',
31 | attributes: { content: 'before pause after pause' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:28:3
|
[chromium] › editor/various/undo.spec.js:85:2 › undo › should undo typing after non input change:
test/e2e/specs/editor/various/undo.spec.js#L97
3) [chromium] › editor/various/undo.spec.js:85:2 › undo › should undo typing after non input change
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "before keyboard <strong>after keyboard</strong>",
+ "content": "b<strong>after key</strong>",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
95 | await page.keyboard.type( 'after keyboard' );
96 |
> 97 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
98 | {
99 | name: 'core/paragraph',
100 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:97:3
|
[chromium] › editor/various/undo.spec.js:85:2 › undo › should undo typing after non input change:
test/e2e/specs/editor/various/undo.spec.js#L97
3) [chromium] › editor/various/undo.spec.js:85:2 › undo › should undo typing after non input change
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "before keyboard <strong>after keyboard</strong>",
+ "content": "before keyboar<strong>after keyboard</strong>",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
95 | await page.keyboard.type( 'after keyboard' );
96 |
> 97 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
98 | {
99 | name: 'core/paragraph',
100 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:97:3
|
[chromium] › editor/various/undo.spec.js:85:2 › undo › should undo typing after non input change:
test/e2e/specs/editor/various/undo.spec.js#L97
3) [chromium] › editor/various/undo.spec.js:85:2 › undo › should undo typing after non input change
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "before keyboard <strong>after keyboard</strong>",
+ "content": "before keybo<strong>after keyboard</strong>",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
95 | await page.keyboard.type( 'after keyboard' );
96 |
> 97 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
98 | {
99 | name: 'core/paragraph',
100 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:97:3
|
[chromium] › editor/various/undo.spec.js:187:2 › undo › Should undo/redo to expected level intervals:
test/e2e/specs/editor/various/undo.spec.js#L227
4) [chromium] › editor/various/undo.spec.js:187:2 › undo › Should undo/redo to expected level intervals
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Object {
"blockIndex": 1,
- "endOffset": 2,
- "startOffset": 2,
+ "endOffset": 1,
+ "startOffset": 1,
}
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
225 |
226 | await expect.poll( editor.getEditedPostContent ).toBe( secondText );
> 227 | await expect.poll( undoUtils.getSelection ).toEqual( {
| ^
228 | blockIndex: 1,
229 | startOffset: 'is'.length,
230 | endOffset: 'is'.length,
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:227:3
|
[chromium] › editor/various/autocomplete-and-mentions.spec.js:287:3 › Autocomplete (@firefox:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L315
1) [chromium] › 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
|
[chromium] › editor/various/autocomplete-and-mentions.spec.js:287:3 › Autocomplete (@firefox:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L315
1) [chromium] › 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
|
[chromium] › editor/various/autocomplete-and-mentions.spec.js:287:3 › Autocomplete (@firefox:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L315
1) [chromium] › 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
|
[chromium] › editor/various/autocomplete-and-mentions.spec.js:326:4 › Autocomplete (@firefox:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L337
2) [chromium] › editor/various/autocomplete-and-mentions.spec.js:326:4 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should not insert disabled options
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option').filter({ hasText: '🍇 Grape' })
- waiting for locator('role=option').filter({ hasText: '🍇 Grape' })
335 | await expect(
336 | page.locator( 'role=option', { hasText: '🍇 Grape' } )
> 337 | ).toBeVisible();
| ^
338 | await page.keyboard.press( 'Enter' );
339 | await page.keyboard.type( ' grapes.' );
340 | await expect.poll( editor.getEditedPostContent )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:337:7
|
[chromium] › editor/various/autocomplete-and-mentions.spec.js:326:4 › Autocomplete (@firefox:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L340
2) [chromium] › editor/various/autocomplete-and-mentions.spec.js:326:4 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should not insert disabled options
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>Sorry, we are all out of ~g grapes.</p>
+ <p>Sorry, we are all out of 🍎 grape</p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
338 | await page.keyboard.press( 'Enter' );
339 | await page.keyboard.type( ' grapes.' );
> 340 | await expect.poll( editor.getEditedPostContent )
| ^
341 | .toBe( `<!-- wp:paragraph -->
342 | <p>Sorry, we are all out of ~g grapes.</p>
343 | <!-- /wp:paragraph -->` );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:340:5
|
[chromium] › editor/various/autocomplete-and-mentions.spec.js:326:4 › Autocomplete (@firefox:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L337
2) [chromium] › editor/various/autocomplete-and-mentions.spec.js:326:4 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should not insert disabled options
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=option').filter({ hasText: '🍇 Grape' })
- waiting for locator('role=option').filter({ hasText: '🍇 Grape' })
335 | await expect(
336 | page.locator( 'role=option', { hasText: '🍇 Grape' } )
> 337 | ).toBeVisible();
| ^
338 | await page.keyboard.press( 'Enter' );
339 | await page.keyboard.type( ' grapes.' );
340 | await expect.poll( editor.getEditedPostContent )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:337:7
|
[chromium] › editor/various/autocomplete-and-mentions.spec.js:347:3 › Autocomplete (@firefox:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L414
3) [chromium] › editor/various/autocomplete-and-mentions.spec.js:347:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should allow newlines after multiple option completions
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 3
+ Received + 3
<!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🫐 </p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🍎 test</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>🫐 test</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🍎 test</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
|
[chromium] › editor/various/autocomplete-and-mentions.spec.js:347:3 › Autocomplete (@firefox:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L414
3) [chromium] › editor/various/autocomplete-and-mentions.spec.js:347:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should allow newlines after multiple option completions
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
@@ -9,11 +9,11 @@
<!-- wp:paragraph -->
<p>🫐 test</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🍎 </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
|
[chromium] › editor/various/autocomplete-and-mentions.spec.js:347:3 › Autocomplete (@firefox:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L414
3) [chromium] › editor/various/autocomplete-and-mentions.spec.js:347:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should allow newlines after multiple option completions
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
@@ -1,15 +1,15 @@
<!-- wp:paragraph -->
<p>🫐 test</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🫐 </p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🍎 </p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>🫐 test</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
|
[chromium] › editor/various/block-hierarchy-navigation.spec.js:95:2 › Navigating the block hierarchy › should navigate block hierarchy using only the keyboard:
test/e2e/specs/editor/various/block-hierarchy-navigation.spec.js#L150
4) [chromium] › editor/various/block-hierarchy-navigation.spec.js:95:2 › Navigating the block hierarchy › should navigate block hierarchy using only the keyboard
Error: expect(received).toMatchObject(expected)
- Expected - 2
+ Received + 2
@@ -3,11 +3,11 @@
"innerBlocks": Array [
Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "First column",
+ "content": "First col",
},
"name": "core/paragraph",
},
],
"name": "core/column",
@@ -17,11 +17,11 @@
},
Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "Third column",
+ "content": "Thi",
},
"name": "core/paragraph",
},
],
"name": "core/column",
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
148 | await page.keyboard.type( 'Third column' );
149 |
> 150 | await expect.poll( editor.getBlocks ).toMatchObject( COLUMNS_BLOCK );
| ^
151 | } );
152 |
153 | test( 'should appear and function even without nested blocks', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-hierarchy-navigation.spec.js:150:3
|
[chromium] › editor/blocks/gallery.spec.js:113:2 › Gallery › gallery caption can be edited:
test/e2e/specs/editor/blocks/gallery.spec.js#L149
1) [chromium] › editor/blocks/gallery.spec.js:113:2 › Gallery › gallery caption can be edited ────
Error: expect(received).toMatch(expected)
Expected pattern: /<figcaption.*?>Tested gallery caption<\/figcaption>/
Received string: "<!-- wp:gallery {\"linkTo\":\"none\"} -->
<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped\"><!-- wp:image {\"id\":63,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} -->
<figure class=\"wp-block-image size-large\"><img src=\"http://localhost:8889/wp-content/uploads/2023/10/10x10_e2e_test_image_z9T8jK.png\" alt=\"\" class=\"wp-image-63\"/></figure>
<!-- /wp:image --><figcaption class=\"blocks-gallery-caption wp-element-caption\">Tested gal</figcaption></figure>
<!-- /wp:gallery -->"
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
147 | await page.keyboard.type( galleryCaption );
148 |
> 149 | await expect
| ^
150 | .poll( editor.getEditedPostContent )
151 | .toMatch(
152 | new RegExp( `<figcaption.*?>${ galleryCaption }</figcaption>` )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/gallery.spec.js:149:3
|
[chromium] › editor/blocks/gallery.spec.js:113:2 › Gallery › gallery caption can be edited:
test/e2e/specs/editor/blocks/gallery.spec.js#L149
1) [chromium] › editor/blocks/gallery.spec.js:113:2 › Gallery › gallery caption can be edited ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatch(expected)
Expected pattern: /<figcaption.*?>Tested gallery caption<\/figcaption>/
Received string: "<!-- wp:gallery {\"linkTo\":\"none\"} -->
<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped\"><!-- wp:image {\"id\":68,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} -->
<figure class=\"wp-block-image size-large\"><img src=\"http://localhost:8889/wp-content/uploads/2023/10/10x10_e2e_test_image_z9T8jK.png\" alt=\"\" class=\"wp-image-68\"/></figure>
<!-- /wp:image --><figcaption class=\"blocks-gallery-caption wp-element-caption\">Tested gallery c</figcaption></figure>
<!-- /wp:gallery -->"
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
147 | await page.keyboard.type( galleryCaption );
148 |
> 149 | await expect
| ^
150 | .poll( editor.getEditedPostContent )
151 | .toMatch(
152 | new RegExp( `<figcaption.*?>${ galleryCaption }</figcaption>` )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/gallery.spec.js:149:3
|
[chromium] › editor/blocks/gallery.spec.js:113:2 › Gallery › gallery caption can be edited:
test/e2e/specs/editor/blocks/gallery.spec.js#L149
1) [chromium] › editor/blocks/gallery.spec.js:113:2 › Gallery › gallery caption can be edited ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatch(expected)
Expected pattern: /<figcaption.*?>Tested gallery caption<\/figcaption>/
Received string: "<!-- wp:gallery {\"linkTo\":\"none\"} -->
<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped\"><!-- wp:image {\"id\":70,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} -->
<figure class=\"wp-block-image size-large\"><img src=\"http://localhost:8889/wp-content/uploads/2023/10/10x10_e2e_test_image_z9T8jK.png\" alt=\"\" class=\"wp-image-70\"/></figure>
<!-- /wp:image --><figcaption class=\"blocks-gallery-caption wp-element-caption\">Tested gallery</figcaption></figure>
<!-- /wp:gallery -->"
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
147 | await page.keyboard.type( galleryCaption );
148 |
> 149 | await expect
| ^
150 | .poll( editor.getEditedPostContent )
151 | .toMatch(
152 | new RegExp( `<figcaption.*?>${ galleryCaption }</figcaption>` )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/gallery.spec.js:149:3
|
[chromium] › editor/blocks/heading.spec.js:11:2 › Heading › can be created by prefixing number sign and a space:
test/e2e/specs/editor/blocks/heading.spec.js#L18
2) [chromium] › editor/blocks/heading.spec.js:11:2 › Heading › can be created by prefixing number sign and a space
Error: expect(received).toMatchObject(expected)
- Expected - 3
+ Received + 2
Array [
Object {
"attributes": Object {
- "content": "3",
- "level": 3,
+ "content": "### 3",
},
- "name": "core/heading",
+ "name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
16 | await page.keyboard.type( '### 3' );
17 |
> 18 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
19 | {
20 | name: 'core/heading',
21 | attributes: { content: '3', level: 3 },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/heading.spec.js:18:3
|
[chromium] › editor/blocks/heading.spec.js:11:2 › Heading › can be created by prefixing number sign and a space:
test/e2e/specs/editor/blocks/heading.spec.js#L18
2) [chromium] › editor/blocks/heading.spec.js:11:2 › Heading › can be created by prefixing number sign and a space
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 3
+ Received + 2
Array [
Object {
"attributes": Object {
- "content": "3",
- "level": 3,
+ "content": "### 3",
},
- "name": "core/heading",
+ "name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
16 | await page.keyboard.type( '### 3' );
17 |
> 18 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
19 | {
20 | name: 'core/heading',
21 | attributes: { content: '3', level: 3 },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/heading.spec.js:18:3
|
[chromium] › editor/blocks/heading.spec.js:11:2 › Heading › can be created by prefixing number sign and a space:
test/e2e/specs/editor/blocks/heading.spec.js#L18
2) [chromium] › editor/blocks/heading.spec.js:11:2 › Heading › can be created by prefixing number sign and a space
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 3
+ Received + 2
Array [
Object {
"attributes": Object {
- "content": "3",
- "level": 3,
+ "content": "### 3",
},
- "name": "core/heading",
+ "name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
16 | await page.keyboard.type( '### 3' );
17 |
> 18 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
19 | {
20 | name: 'core/heading',
21 | attributes: { content: '3', level: 3 },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/heading.spec.js:18:3
|
[chromium] › editor/blocks/heading.spec.js:26:2 › Heading › can be created by prefixing existing content with number signs and a space:
test/e2e/specs/editor/blocks/heading.spec.js#L35
3) [chromium] › editor/blocks/heading.spec.js:26:2 › Heading › can be created by prefixing existing content with number signs and a space
Error: expect(received).toMatchObject(expected)
- Expected - 3
+ Received + 2
Array [
Object {
"attributes": Object {
- "content": "4",
- "level": 4,
+ "content": "#### 4",
},
- "name": "core/heading",
+ "name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
33 | await page.keyboard.type( '#### ' );
34 |
> 35 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
36 | {
37 | name: 'core/heading',
38 | attributes: { content: '4', level: 4 },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/heading.spec.js:35:3
|
[chromium] › editor/blocks/heading.spec.js:26:2 › Heading › can be created by prefixing existing content with number signs and a space:
test/e2e/specs/editor/blocks/heading.spec.js#L35
3) [chromium] › editor/blocks/heading.spec.js:26:2 › Heading › can be created by prefixing existing content with number signs and a space
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 3
+ Received + 2
Array [
Object {
"attributes": Object {
- "content": "4",
- "level": 4,
+ "content": "#### 4",
},
- "name": "core/heading",
+ "name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
33 | await page.keyboard.type( '#### ' );
34 |
> 35 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
36 | {
37 | name: 'core/heading',
38 | attributes: { content: '4', level: 4 },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/heading.spec.js:35:3
|
[chromium] › editor/blocks/heading.spec.js:26:2 › Heading › can be created by prefixing existing content with number signs and a space:
test/e2e/specs/editor/blocks/heading.spec.js#L35
3) [chromium] › editor/blocks/heading.spec.js:26:2 › Heading › can be created by prefixing existing content with number signs and a space
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 3
+ Received + 2
Array [
Object {
"attributes": Object {
- "content": "4",
- "level": 4,
+ "content": "#4",
},
- "name": "core/heading",
+ "name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
33 | await page.keyboard.type( '#### ' );
34 |
> 35 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
36 | {
37 | name: 'core/heading',
38 | attributes: { content: '4', level: 4 },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/heading.spec.js:35:3
|
[chromium] › editor/blocks/heading.spec.js:43:2 › Heading › should not work with the list input rule:
test/e2e/specs/editor/blocks/heading.spec.js#L50
4) [chromium] › editor/blocks/heading.spec.js:43:2 › Heading › should not work with the list input rule
Error: expect(received).toMatchObject(expected)
- Expected - 3
+ Received + 2
Array [
Object {
"attributes": Object {
- "content": "1. H",
- "level": 2,
+ "content": "## 1. H",
},
- "name": "core/heading",
+ "name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
48 | await page.keyboard.type( '## 1. H' );
49 |
> 50 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
51 | {
52 | name: 'core/heading',
53 | attributes: { content: '1. H', level: 2 },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/heading.spec.js:50:3
|
🎭 Playwright Run Summary
8 failed
[chromium] › editor/various/splitting-merging.spec.js:110:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line
[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:187:2 › undo › Should undo/redo to expected level intervals
[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:146:2 › Writing Flow (@Firefox, @WebKit) › should navigate around inline boundaries
[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:772:2 › Writing Flow (@Firefox, @WebKit) › should extend selection into paragraph for list with longer last item
6 flaky
[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: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: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:324:2 › undo › should undo for explicit persistence editing post
[chromium] › editor/various/writing-flow.spec.js:607:2 › Writing Flow (@Firefox, @WebKit) › should merge and then split paragraphs
1 skipped
216 passed (18.8m)
|
🎭 Playwright Run Summary
2 skipped
220 passed (21.4m)
|
🎭 Playwright Run Summary
27 failed
[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: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/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-moving-mode.spec.js:47:2 › Block moving mode › can move block in the nested block
[chromium] › editor/various/copy-cut-paste.spec.js:327:2 › Copy/cut/paste › should cut/paste partial selection with other blocks in-between
[chromium] › editor/various/copy-cut-paste.spec.js:355:2 › Copy/cut/paste › should cut partial selection and merge like a normal `delete` - not forward
[chromium] › editor/various/copy-cut-paste.spec.js:382:2 › Copy/cut/paste › should paste plain text in plain text context when cross block selection is copied
[chromium] › editor/various/font-size-picker.spec.js:191:3 › Font Size Picker › More font sizes › should reset a named font size using input field
[chromium] › editor/various/font-size-picker.spec.js:248:3 › Font Size Picker › Few font sizes › should reset a named font size using the tools panel menu
[chromium] › editor/various/footnotes.spec.js:29:2 › Footnotes › can be inserted ───────────────
[chromium] › editor/various/footnotes.spec.js:188:2 › Footnotes › can be inserted in a list ────
[chromium] › editor/various/footnotes.spec.js:284:2 › Footnotes › works with revisions ─────────
[chromium] › editor/various/keep-styles-on-block-transforms.spec.js:11:2 › Keep styles on block transforms › Should keep colors during a transform
[chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post
[chromium] › editor/various/preview.spec.js:102:2 › Preview › should not revert title during a preview right after a save draft
[chromium] › editor/various/preview.spec.js:152:2 › Preview › should display the correct preview when switching between published and draft statuses
[chromium] › editor/various/rich-text.spec.js:113:2 › RichText › should return focus when pressing formatting button
[chromium] › editor/various/rich-text.spec.js:132:2 › RichText › should transform backtick to code
[chromium] › editor/various/rich-text.spec.js:154:2 › RichText › should undo backtick transform with backspace
[chromium] › editor/various/rich-text.spec.js:170:2 › RichText › should not undo backtick transform with backspace after typing
[chromium] › editor/various/rich-text.spec.js:183:2 › RichText › should not undo backtick transform with backspace after selection change
[chromium] › editor/various/rich-text.spec.js:199:2 › RichText › should not format text after code backtick
[chromium] › editor/various/rich-text.spec.js:624:2 › RichText › should paste paragraph contents into list
[chromium] › editor/various/rich-text.spec.js:666:2 › RichText › should paste list contents into paragraph
16 flaky
[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
|
🎭 Playwright Run Summary
42 failed
[chromium] › editor/blocks/gallery.spec.js:113:2 › Gallery › gallery caption can be edited ─────
[chromium] › editor/blocks/heading.spec.js:11:2 › Heading › can be created by prefixing number sign and a space
[chromium] › editor/blocks/heading.spec.js:26:2 › Heading › can be created by prefixing existing content with number signs and a space
[chromium] › editor/blocks/heading.spec.js:43:2 › Heading › should not work with the list input rule
[chromium] › editor/blocks/heading.spec.js:58:2 › Heading › should work with the format input rules
[chromium] › editor/blocks/heading.spec.js:73:2 › Heading › should create a paragraph block above when pressing enter at the start
[chromium] › editor/blocks/heading.spec.js:94:2 › Heading › should create a paragraph block below when pressing enter at the end
[chromium] › editor/blocks/heading.spec.js:114:2 › Heading › should correctly apply custom colors
[chromium] › editor/blocks/heading.spec.js:149:2 › Heading › should correctly apply named colors
[chromium] › editor/blocks/heading.spec.js:183:2 › Heading › should change heading level with keyboard shortcuts
[chromium] › editor/blocks/heading.spec.js:245:2 › Heading › should be converted from a heading to a paragraph with keyboard shortcuts
[chromium] › editor/blocks/list.spec.js:11:2 › List (@Firefox) › can be created by using an asterisk at the start of a paragraph block
[chromium] › editor/blocks/list.spec.js:35:2 › List (@Firefox) › can be created by typing an asterisk in front of text of a paragraph block
[chromium] › editor/blocks/list.spec.js:54:2 › List (@Firefox) › can be created by using a number at the start of a paragraph block
[chromium] › editor/blocks/list.spec.js:87:2 › List (@Firefox) › should undo asterisk transform with backspace (-firefox)
[chromium] › editor/blocks/list.spec.js:102:2 › List (@Firefox) › should undo asterisk transform with backspace after selection changes (-firefox)
[chromium] › editor/blocks/list.spec.js:120:2 › List (@Firefox) › should undo asterisk transform with backspace setting isTyping state (-firefox)
[chromium] › editor/blocks/list.spec.js:136:2 › List (@Firefox) › should undo asterisk transform with backspace after selection changes without requestIdleCallback (-firefox)
[chromium] › editor/blocks/list.spec.js:170:2 › List (@Firefox) › should not undo asterisk transform with backspace after typing
[chromium] › editor/blocks/list.spec.js:182:2 › List (@Firefox) › should not undo asterisk transform with backspace after selection change
[chromium] › editor/blocks/list.spec.js:220:2 › List (@Firefox) › can be created by converting a paragraph
[chromium] › editor/blocks/list.spec.js:287:2 › List (@Firefox) › should not transform lines in block when transforming multiple blocks
[chromium] › editor/blocks/list.spec.js:335:2 › List (@Firefox) › can be converted when nested to paragraphs
[chromium] › editor/blocks/list.spec.js:421:2 › List (@Firefox) › should split into two with paragraph and merge lists
[chromium] › editor/blocks/list.spec.js:558:2 › List (@Firefox) › should split into two ordered lists with paragraph
[chromium] › editor/blocks/list.spec.js:900:2 › List (@Firefox) › should create and remove indented list with keyboard only
[chromium] › editor/blocks/list.spec.js:1013:2 › List (@Firefox) › should place the caret in the right place with nested list
[chromium] › editor/blocks/list.spec.js:1044:2 › List (@Firefox) › should not indent list on space with modifier
[chromium] › editor/blocks/list.spec.js:1084:2 › List (@Firefox) › should preserve indentation after merging backward and forward (-firefox)
[chromium] › editor/blocks/list.spec.js:1148:2 › List (@Firefox) › first empty list item is graciously removed
[chromium] › editor/blocks/list.spec.js:1173:2 › List (@Firefox) › should not change the contents when you change the list type to Ordered
[chromium] › editor/blocks/list.spec.js:1203:2 › List (@Firefox) › shou
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
451 MB |
|
flaky-tests-report
Expired
|
281 KB |
|