Block lazy loading #80988
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 48s
Annotations
62 errors and 4 notices
Puppeteer - 2:
packages/e2e-tests/specs/editor/various/rich-text.test.js#L41
Error: expect(received).toMatchSnapshot()
Snapshot name: `RichText should apply formatting with primary shortcut 1`
- Snapshot - 3
+ Received + 0
- <!-- wp:paragraph -->
- <p><strong>test</strong></p>
- <!-- /wp:paragraph -->
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/rich-text.test.js:41:42)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Puppeteer - 2:
packages/e2e-tests/specs/editor/various/rich-text.test.js#L54
Error: expect(received).toMatchSnapshot()
Snapshot name: `RichText should apply formatting when selection is collapsed 1`
- Snapshot - 3
+ Received + 0
- <!-- wp:paragraph -->
- <p>Some <strong>bold</strong>.</p>
- <!-- /wp:paragraph -->
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/rich-text.test.js:54:42)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Puppeteer - 2:
packages/e2e-tests/specs/editor/various/rich-text.test.js#L66
Error: expect(received).toMatchSnapshot()
Snapshot name: `RichText should apply multiple formats when selection is collapsed 1`
- Snapshot - 3
+ Received + 0
- <!-- wp:paragraph -->
- <p><strong><em>1</em></strong>.</p>
- <!-- /wp:paragraph -->
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/rich-text.test.js:66:42)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Puppeteer - 2:
packages/e2e-tests/specs/editor/various/rich-text.test.js#L84
Error: expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
at Object.toBe (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/rich-text.test.js:84:19)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Puppeteer - 2:
packages/e2e-tests/specs/editor/various/rich-text.test.js#L23
Error: No node found for selector: [aria-label="Bold"]
at assert (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/assert.ts:23:21)
at DOMWorld.click (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:461:11)
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/rich-text.test.js:91:3)
|
Puppeteer - 2:
packages/e2e-tests/specs/editor/various/rich-text.test.js#L104
Error: expect(received).toMatchSnapshot()
Snapshot name: `RichText should transform backtick to code 1`
- Snapshot - 3
+ Received + 0
- <!-- wp:paragraph -->
- <p>A <code>backtick</code></p>
- <!-- /wp:paragraph -->
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/rich-text.test.js:104:42)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Puppeteer - 2:
packages/e2e-tests/specs/editor/various/rich-text.test.js#L117
Error: expect(received).toMatchSnapshot()
Snapshot name: `RichText should undo backtick transform with backspace 1`
- Snapshot - 3
+ Received + 0
- <!-- wp:paragraph -->
- <p>`a`</p>
- <!-- /wp:paragraph -->
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/rich-text.test.js:117:42)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Puppeteer - 2:
packages/e2e-tests/specs/editor/various/rich-text.test.js#L149
Error: expect(received).toMatchSnapshot()
Snapshot name: `RichText should not format text after code backtick 1`
- Snapshot - 3
+ Received + 0
- <!-- wp:paragraph -->
- <p>A <code>backtick</code> and more.</p>
- <!-- /wp:paragraph -->
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/rich-text.test.js:149:42)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Puppeteer - 2:
packages/e2e-tests/specs/editor/various/rich-text.test.js#L161
Error: expect(received).toMatchSnapshot()
Snapshot name: `RichText should transform when typing backtick over selection 1`
- Snapshot - 3
+ Received + 0
- <!-- wp:paragraph -->
- <p>A <code>selection</code> test.</p>
- <!-- /wp:paragraph -->
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/rich-text.test.js:161:42)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Puppeteer - 2:
packages/e2e-tests/specs/editor/various/rich-text.test.js#L6
Error: Evaluation failed: Error: The selection change event listener was never called.
at __puppeteer_evaluation_script__:6:15
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/rich-text.test.js:237:3)
|
Puppeteer - 3:
packages/e2e-tests/specs/editor/various/links.test.js#L23
Error: No node found for selector: .editor-post-publish-button
at assert (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/assert.ts:23:21)
at DOMWorld.click (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:461:11)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at createPostWithTitle (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/links.test.js:325:3)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/links.test.js:35:3)
|
Puppeteer - 3:
packages/e2e-tests/specs/editor/various/links.test.js#L33
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["TypeError: e.forEach is not a function
at Lr (http://localhost:8889/wp-content/plugins/gutenberg/build/editor/index.min.js?ver=ffbedc085a664f665615:33:1882)
at Fr (http://localhost:8889/wp-content/plugins/gutenberg/build/editor/index.min.js?ver=ffbedc085a664f665615:33:2641)
at St (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:47627)
at $s (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:120574)
at Sl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88649)
at kl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88577)
at bl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88440)
at sl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:85264)
at dl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:85651)
at Nn (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:32464)"]
at Object.assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/build/@wordpress/jest-console/src/index.js:32:40)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:293:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:226:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:262:40)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:235:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:157:7)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:130:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:68:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
|
Puppeteer - 3:
packages/e2e-tests/specs/editor/various/links.test.js#L23
Error: No node found for selector: button[aria-label="Link"]
at assert (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/assert.ts:23:21)
at DOMWorld.click (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:461:11)
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/links.test.js:78:3)
|
Puppeteer - 3:
packages/e2e-tests/specs/editor/various/links.test.js#L23
Error: No node found for selector: button[aria-label="Link"]
at assert (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/assert.ts:23:21)
at DOMWorld.click (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:461:11)
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/links.test.js:102:3)
|
Puppeteer - 3:
packages/e2e-tests/specs/editor/various/links.test.js#L813
TimeoutError: waiting for function failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForFunction (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:728:22)
at Frame.waitForFunction (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1368:28)
at Page.waitForFunction (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3358:29)
at waitForFunction (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/links.test.js:21:14)
at Object.waitForURLFieldAutoFocus (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/links.test.js:124:9)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Puppeteer - 3:
packages/e2e-tests/specs/editor/various/links.test.js#L23
Error: No node found for selector: button[aria-label="Link"]
at assert (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/assert.ts:23:21)
at DOMWorld.click (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:461:11)
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/links.test.js:153:3)
|
Puppeteer - 3:
packages/e2e-tests/specs/editor/various/links.test.js#L23
Error: No node found for selector: button[aria-label="Link"]
at assert (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/assert.ts:23:21)
at DOMWorld.click (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:461:11)
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/links.test.js:168:3)
|
Puppeteer - 3:
packages/e2e-tests/specs/editor/various/links.test.js#L23
Error: No node found for selector: button[aria-label="Link"]
at assert (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/assert.ts:23:21)
at DOMWorld.click (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:461:11)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at createAndReselectLink (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/links.test.js:189:3)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/links.test.js:205:3)
|
Puppeteer - 3:
packages/e2e-tests/specs/editor/various/links.test.js#L23
Error: No node found for selector: button[aria-label="Link"]
at assert (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/assert.ts:23:21)
at DOMWorld.click (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:461:11)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at createAndReselectLink (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/links.test.js:189:3)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/links.test.js:227:3)
|
Puppeteer - 3:
packages/e2e-tests/specs/editor/various/links.test.js#L23
Error: No node found for selector: button[aria-label="Link"]
at assert (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/assert.ts:23:21)
at DOMWorld.click (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:461:11)
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/links.test.js:258:3)
|
[chromium] › editor/plugins/custom-post-types.spec.js:17:2 › Test Custom Post Types › should be able to create an hierarchical post without title support:
packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L13
1) [chromium] › editor/plugins/custom-post-types.spec.js:17:2 › Test Custom Post Types › should be able to create an hierarchical post without title support
TimeoutError: page.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=button[name="Publish"i]')
locator resolved to <button type="button" aria-disabled="true" aria-expanded…>Publish</button>
attempting click action
waiting for element to be visible, enabled and stable
element is not enabled - waiting...
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:13
11 | */
12 | export async function publishPost( this: Editor ) {
> 13 | await this.page.click( 'role=button[name="Publish"i]' );
| ^
14 | const entitiesSaveButton = this.page.locator(
15 | 'role=region[name="Editor publish"i] >> role=button[name="Save"i]'
16 | );
at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:13:18)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/custom-post-types.spec.js:25:16
|
[chromium] › editor/plugins/custom-post-types.spec.js:17:2 › Test Custom Post Types › should be able to create an hierarchical post without title support:
packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L13
1) [chromium] › editor/plugins/custom-post-types.spec.js:17:2 › Test Custom Post Types › should be able to create an hierarchical post without title support
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=button[name="Publish"i]')
locator resolved to <button type="button" aria-disabled="true" aria-expanded…>Publish</button>
attempting click action
waiting for element to be visible, enabled and stable
element is not enabled - waiting...
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:13
11 | */
12 | export async function publishPost( this: Editor ) {
> 13 | await this.page.click( 'role=button[name="Publish"i]' );
| ^
14 | const entitiesSaveButton = this.page.locator(
15 | 'role=region[name="Editor publish"i] >> role=button[name="Save"i]'
16 | );
at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:13:18)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/custom-post-types.spec.js:25:16
|
[chromium] › editor/plugins/custom-post-types.spec.js:17:2 › Test Custom Post Types › should be able to create an hierarchical post without title support:
packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L13
1) [chromium] › editor/plugins/custom-post-types.spec.js:17:2 › Test Custom Post Types › should be able to create an hierarchical post without title support
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=button[name="Publish"i]')
locator resolved to <button type="button" aria-disabled="true" aria-expanded…>Publish</button>
attempting click action
waiting for element to be visible, enabled and stable
element is not enabled - waiting...
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:13
11 | */
12 | export async function publishPost( this: Editor ) {
> 13 | await this.page.click( 'role=button[name="Publish"i]' );
| ^
14 | const entitiesSaveButton = this.page.locator(
15 | 'role=region[name="Editor publish"i] >> role=button[name="Save"i]'
16 | );
at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:13:18)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/custom-post-types.spec.js:25:16
|
[chromium] › editor/plugins/custom-post-types.spec.js:65:2 › Test Custom Post Types › should create a cpt with a legacy block in its template without WSOD:
test/e2e/specs/editor/plugins/custom-post-types.spec.js#L74
2) [chromium] › editor/plugins/custom-post-types.spec.js:65:2 › Test Custom Post Types › should create a cpt with a legacy block in its template without WSOD
Error: expect(received).toMatchObject(expected)
- Expected - 3
+ Received + 5
Array [
Object {
"attributes": Object {
- "providerNameSlug": "wordpress-tv",
+ "originalContent": "",
+ "originalName": "core-embed/wordpress-tv",
+ "originalUndelimitedContent": "",
},
- "name": "core/embed",
+ "name": "core/missing",
},
Object {
"attributes": Object {
- "content": "Hello there",
+ "content": "",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
72 | await page.keyboard.type( 'Hello there' );
73 |
> 74 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
75 | {
76 | name: 'core/embed',
77 | attributes: { providerNameSlug: 'wordpress-tv' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/custom-post-types.spec.js:74:3
|
[chromium] › editor/plugins/custom-post-types.spec.js:65:2 › Test Custom Post Types › should create a cpt with a legacy block in its template without WSOD:
test/e2e/specs/editor/plugins/custom-post-types.spec.js#L74
2) [chromium] › editor/plugins/custom-post-types.spec.js:65:2 › Test Custom Post Types › should create a cpt with a legacy block in its template without WSOD
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 3
+ Received + 5
Array [
Object {
"attributes": Object {
- "providerNameSlug": "wordpress-tv",
+ "originalContent": "",
+ "originalName": "core-embed/wordpress-tv",
+ "originalUndelimitedContent": "",
},
- "name": "core/embed",
+ "name": "core/missing",
},
Object {
"attributes": Object {
- "content": "Hello there",
+ "content": "",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
72 | await page.keyboard.type( 'Hello there' );
73 |
> 74 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
75 | {
76 | name: 'core/embed',
77 | attributes: { providerNameSlug: 'wordpress-tv' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/custom-post-types.spec.js:74:3
|
[chromium] › editor/plugins/custom-post-types.spec.js:65:2 › Test Custom Post Types › should create a cpt with a legacy block in its template without WSOD:
test/e2e/specs/editor/plugins/custom-post-types.spec.js#L74
2) [chromium] › editor/plugins/custom-post-types.spec.js:65:2 › Test Custom Post Types › should create a cpt with a legacy block in its template without WSOD
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 3
+ Received + 5
Array [
Object {
"attributes": Object {
- "providerNameSlug": "wordpress-tv",
+ "originalContent": "",
+ "originalName": "core-embed/wordpress-tv",
+ "originalUndelimitedContent": "",
},
- "name": "core/embed",
+ "name": "core/missing",
},
Object {
"attributes": Object {
- "content": "Hello there",
+ "content": "",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
72 | await page.keyboard.type( 'Hello there' );
73 |
> 74 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
75 | {
76 | name: 'core/embed',
77 | attributes: { providerNameSlug: 'wordpress-tv' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/custom-post-types.spec.js:74:3
|
[chromium] › editor/plugins/format-api.spec.js:19:2 › Using Format API › Clicking the control wraps the selected text properly with HTML code:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
3) [chromium] › editor/plugins/format-api.spec.js:19:2 › Using Format API › Clicking the control wraps the selected text properly with HTML code
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="More"]')
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/format-api.spec.js:27:3
|
[chromium] › editor/plugins/format-api.spec.js:19:2 › Using Format API › Clicking the control wraps the selected text properly with HTML code:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
3) [chromium] › editor/plugins/format-api.spec.js:19:2 › Using Format API › Clicking the control wraps the selected text properly with HTML code
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="More"]')
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/format-api.spec.js:27:3
|
[chromium] › editor/plugins/format-api.spec.js:19:2 › Using Format API › Clicking the control wraps the selected text properly with HTML code:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
3) [chromium] › editor/plugins/format-api.spec.js:19:2 › Using Format API › Clicking the control wraps the selected text properly with HTML code
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="More"]')
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/format-api.spec.js:27:3
|
[chromium] › editor/plugins/format-api.spec.js:41:2 › Using Format API › should show unknow formatting button:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
4) [chromium] › editor/plugins/format-api.spec.js:41:2 › Using Format API › should show unknow formatting button
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Clear Unknown Formatting"]')
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/format-api.spec.js:55:3
|
[chromium] › editor/various/shortcut-focus-toolbar.spec.js:17:2 › Focus toolbar shortcut (alt + F10) › Focuses correct toolbar in default view options in edit mode:
test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js#L37
1) [chromium] › editor/various/shortcut-focus-toolbar.spec.js:17:2 › Focus toolbar shortcut (alt + F10) › Focuses correct toolbar in default view options in edit mode
Error: expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button disabled id=":ra:" type="button" data-command=""…>…</button>
- unexpected value "not focused"
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
35 | );
36 | await toolbarUtils.moveToToolbarShortcut();
> 37 | await expect( toolbarUtils.blockToolbarParagraphButton ).toBeFocused();
| ^
38 | await expect( toolbarUtils.documentToolbarTooltip ).not.toBeVisible();
39 |
40 | // Test: Focus block toolbar from block content when block toolbar is visible
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js:37:60
|
[chromium] › editor/various/shortcut-focus-toolbar.spec.js:17:2 › Focus toolbar shortcut (alt + F10) › Focuses correct toolbar in default view options in edit mode:
test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js#L37
1) [chromium] › editor/various/shortcut-focus-toolbar.spec.js:17:2 › Focus toolbar shortcut (alt + F10) › Focuses correct toolbar in default view options in edit mode
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button disabled id=":ra:" type="button" data-command=""…>…</button>
- unexpected value "not focused"
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
35 | );
36 | await toolbarUtils.moveToToolbarShortcut();
> 37 | await expect( toolbarUtils.blockToolbarParagraphButton ).toBeFocused();
| ^
38 | await expect( toolbarUtils.documentToolbarTooltip ).not.toBeVisible();
39 |
40 | // Test: Focus block toolbar from block content when block toolbar is visible
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js:37:60
|
[chromium] › editor/various/shortcut-focus-toolbar.spec.js:17:2 › Focus toolbar shortcut (alt + F10) › Focuses correct toolbar in default view options in edit mode:
test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js#L37
1) [chromium] › editor/various/shortcut-focus-toolbar.spec.js:17:2 › Focus toolbar shortcut (alt + F10) › Focuses correct toolbar in default view options in edit mode
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
35 | );
36 | await toolbarUtils.moveToToolbarShortcut();
> 37 | await expect( toolbarUtils.blockToolbarParagraphButton ).toBeFocused();
| ^
38 | await expect( toolbarUtils.documentToolbarTooltip ).not.toBeVisible();
39 |
40 | // Test: Focus block toolbar from block content when block toolbar is visible
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js:37:60
|
[chromium] › editor/various/shortcut-focus-toolbar.spec.js:90:3 › Focus toolbar shortcut (alt + F10) › In Top Toolbar option: › Focuses the correct toolbar in edit mode:
test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js#L104
2) [chromium] › editor/various/shortcut-focus-toolbar.spec.js:90:3 › Focus toolbar shortcut (alt + F10) › In Top Toolbar option: › Focuses the correct toolbar in edit mode
Error: expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button disabled id=":ra:" type="button" data-command=""…>…</button>
- unexpected value "not focused"
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button disabled id=":ra:" type="button" data-command=""…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
102 | await expect(
103 | toolbarUtils.blockToolbarParagraphButton
> 104 | ).toBeFocused();
| ^
105 |
106 | // Test: Focus the block toolbar from paragraph block with content
107 | await editor.insertBlock( { name: 'core/paragraph' } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js:104:6
|
[chromium] › editor/various/shortcut-focus-toolbar.spec.js:90:3 › Focus toolbar shortcut (alt + F10) › In Top Toolbar option: › Focuses the correct toolbar in edit mode:
test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js#L104
2) [chromium] › editor/various/shortcut-focus-toolbar.spec.js:90:3 › Focus toolbar shortcut (alt + F10) › In Top Toolbar option: › Focuses the correct toolbar in edit mode
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button disabled id=":ra:" type="button" data-command=""…>…</button>
- unexpected value "not focused"
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
102 | await expect(
103 | toolbarUtils.blockToolbarParagraphButton
> 104 | ).toBeFocused();
| ^
105 |
106 | // Test: Focus the block toolbar from paragraph block with content
107 | await editor.insertBlock( { name: 'core/paragraph' } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js:104:6
|
[chromium] › editor/various/shortcut-focus-toolbar.spec.js:90:3 › Focus toolbar shortcut (alt + F10) › In Top Toolbar option: › Focuses the correct toolbar in edit mode:
test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js#L104
2) [chromium] › editor/various/shortcut-focus-toolbar.spec.js:90:3 › Focus toolbar shortcut (alt + F10) › In Top Toolbar option: › Focuses the correct toolbar in edit mode
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button disabled id=":ra:" type="button" data-command=""…>…</button>
- unexpected value "not focused"
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button disabled id=":ra:" type="button" data-command=""…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
102 | await expect(
103 | toolbarUtils.blockToolbarParagraphButton
> 104 | ).toBeFocused();
| ^
105 |
106 | // Test: Focus the block toolbar from paragraph block with content
107 | await editor.insertBlock( { name: 'core/paragraph' } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js:104:6
|
[chromium] › editor/various/shortcut-focus-toolbar.spec.js:117:3 › Focus toolbar shortcut (alt + F10) › In Top Toolbar option: › Focuses the correct toolbar in select mode:
test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js#L133
3) [chromium] › editor/various/shortcut-focus-toolbar.spec.js:117:3 › Focus toolbar shortcut (alt + F10) › In Top Toolbar option: › Focuses the correct toolbar in select mode
Error: expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
131 | await expect(
132 | toolbarUtils.blockToolbarParagraphButton
> 133 | ).toBeFocused();
| ^
134 |
135 | // Test: Focus the block toolbar from paragraph in select mode
136 | await editor.insertBlock( { name: 'core/paragraph' } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js:133:6
|
[chromium] › editor/various/shortcut-focus-toolbar.spec.js:117:3 › Focus toolbar shortcut (alt + F10) › In Top Toolbar option: › Focuses the correct toolbar in select mode:
test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js#L133
3) [chromium] › editor/various/shortcut-focus-toolbar.spec.js:117:3 › Focus toolbar shortcut (alt + F10) › In Top Toolbar option: › Focuses the correct toolbar in select mode
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
131 | await expect(
132 | toolbarUtils.blockToolbarParagraphButton
> 133 | ).toBeFocused();
| ^
134 |
135 | // Test: Focus the block toolbar from paragraph in select mode
136 | await editor.insertBlock( { name: 'core/paragraph' } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js:133:6
|
[chromium] › editor/various/shortcut-focus-toolbar.spec.js:117:3 › Focus toolbar shortcut (alt + F10) › In Top Toolbar option: › Focuses the correct toolbar in select mode:
test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js#L133
3) [chromium] › editor/various/shortcut-focus-toolbar.spec.js:117:3 › Focus toolbar shortcut (alt + F10) › In Top Toolbar option: › Focuses the correct toolbar in select mode
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":ri:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
131 | await expect(
132 | toolbarUtils.blockToolbarParagraphButton
> 133 | ).toBeFocused();
| ^
134 |
135 | // Test: Focus the block toolbar from paragraph in select mode
136 | await editor.insertBlock( { name: 'core/paragraph' } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js:133:6
|
[chromium] › editor/various/shortcut-focus-toolbar.spec.js:157:3 › Focus toolbar shortcut (alt + F10) › Smaller than large viewports › Focuses the correct toolbar in edit mode:
test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js#L171
4) [chromium] › editor/various/shortcut-focus-toolbar.spec.js:157:3 › Focus toolbar shortcut (alt + F10) › Smaller than large viewports › Focuses the correct toolbar in edit mode
Error: expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button disabled id=":r8:" type="button" data-command=""…>…</button>
- unexpected value "not focused"
- waiting for getByRole('button', { name: 'Paragraph', exact: true })
- locator resolved to <button id=":rc:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rc:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rc:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rc:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rc:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rc:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rc:" type="button" tabindex="-1" data-comma…>…</button>
- unexpected value "not focused"
169 | await expect(
170 | toolbarUtils.blockToolbarParagraphButton
> 171 | ).toBeFocused();
| ^
172 | await expect(
173 | toolbarUtils.documentToolbarTooltip
174 | ).not.toBeVisible();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/shortcut-focus-toolbar.spec.js:171:6
|
[webkit] › editor/various/a11y.spec.js:130:2 › a11y (@firefox:
test/e2e/specs/editor/various/a11y.spec.js#L192
1) [webkit] › editor/various/a11y.spec.js:130:2 › a11y (@Firefox, @WebKit) › should make the modal content focusable when it is scrollable
Error: expect(received).toHaveAttribute(expected)
Expected string: "0"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('role=dialog[name="Preferences"i]').locator('role=document')
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- waiting for locator('role=dialog[name="Preferences"i]').locator('role=document')
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
190 | // This is necessary for solving a flaky result where Playwright runs too fast
191 | // before DOM catching up.
> 192 | await expect( preferencesModalContent ).toHaveAttribute(
| ^
193 | 'tabindex',
194 | '0'
195 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/a11y.spec.js:192:43
|
[webkit] › editor/various/a11y.spec.js:130:2 › a11y (@firefox:
test/e2e/specs/editor/various/a11y.spec.js#L192
1) [webkit] › editor/various/a11y.spec.js:130:2 › a11y (@Firefox, @WebKit) › should make the modal content focusable when it is scrollable
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveAttribute(expected)
Expected string: "0"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('role=dialog[name="Preferences"i]').locator('role=document')
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- waiting for locator('role=dialog[name="Preferences"i]').locator('role=document')
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
190 | // This is necessary for solving a flaky result where Playwright runs too fast
191 | // before DOM catching up.
> 192 | await expect( preferencesModalContent ).toHaveAttribute(
| ^
193 | 'tabindex',
194 | '0'
195 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/a11y.spec.js:192:43
|
[webkit] › editor/various/a11y.spec.js:130:2 › a11y (@firefox:
test/e2e/specs/editor/various/a11y.spec.js#L192
1) [webkit] › editor/various/a11y.spec.js:130:2 › a11y (@Firefox, @WebKit) › should make the modal content focusable when it is scrollable
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveAttribute(expected)
Expected string: "0"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('role=dialog[name="Preferences"i]').locator('role=document')
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- waiting for locator('role=dialog[name="Preferences"i]').locator('role=document')
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
- locator resolved to <div role="document" class="components-modal__content">…</div>
- unexpected value "null"
190 | // This is necessary for solving a flaky result where Playwright runs too fast
191 | // before DOM catching up.
> 192 | await expect( preferencesModalContent ).toHaveAttribute(
| ^
193 | 'tabindex',
194 | '0'
195 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/a11y.spec.js:192:43
|
[webkit] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@firefox:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L109
2) [webkit] › 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
|
[webkit] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@firefox:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L109
2) [webkit] › 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
|
[webkit] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@firefox:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L109
2) [webkit] › 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
|
[webkit] › editor/various/autocomplete-and-mentions.spec.js:131:3 › Autocomplete (@firefox:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L159
3) [webkit] › editor/various/autocomplete-and-mentions.spec.js:131:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention between two other words
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]')
157 | await expect(
158 | page.locator( `role=option[name="${ testData.optionText }"i]` )
> 159 | ).toBeVisible();
| ^
160 | await page.keyboard.press( 'Enter' );
161 | await page.keyboard.type( ' ' );
162 | await expect
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:159:6
|
[webkit] › editor/various/autocomplete-and-mentions.spec.js:131:3 › Autocomplete (@firefox:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L159
3) [webkit] › editor/various/autocomplete-and-mentions.spec.js:131:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention between two other words
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]')
157 | await expect(
158 | page.locator( `role=option[name="${ testData.optionText }"i]` )
> 159 | ).toBeVisible();
| ^
160 | await page.keyboard.press( 'Enter' );
161 | await page.keyboard.type( ' ' );
162 | await expect
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:159:6
|
[webkit] › editor/various/autocomplete-and-mentions.spec.js:131:3 › Autocomplete (@firefox:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L159
3) [webkit] › editor/various/autocomplete-and-mentions.spec.js:131:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention between two other words
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]')
157 | await expect(
158 | page.locator( `role=option[name="${ testData.optionText }"i]` )
> 159 | ).toBeVisible();
| ^
160 | await page.keyboard.press( 'Enter' );
161 | await page.keyboard.type( ' ' );
162 | await expect
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:159:6
|
[webkit] › editor/various/autocomplete-and-mentions.spec.js:167:3 › Autocomplete (@firefox:
test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L199
4) [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
|
[chromium] › editor/blocks/avatar.spec.js:29:2 › Avatar › should change image when user is changed:
test/e2e/specs/editor/blocks/avatar.spec.js#L46
1) [chromium] › editor/blocks/avatar.spec.js:29:2 › Avatar › should change image when user is changed
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=document[name="Block: Avatar"i]').locator('img')
- waiting for locator('role=document[name="Block: Avatar"i]').locator('img')
44 | const avatarImage = avatarBlock.locator( 'img' );
45 |
> 46 | await expect( avatarImage ).toBeVisible();
| ^
47 |
48 | const originalSrc = await avatarImage.getAttribute( 'src' );
49 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/avatar.spec.js:46:31
|
[chromium] › editor/blocks/avatar.spec.js:29:2 › Avatar › should change image when user is changed:
test/e2e/specs/editor/blocks/avatar.spec.js#L46
1) [chromium] › editor/blocks/avatar.spec.js:29:2 › Avatar › should change image when user is changed
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=document[name="Block: Avatar"i]').locator('img')
- waiting for locator('role=document[name="Block: Avatar"i]').locator('img')
44 | const avatarImage = avatarBlock.locator( 'img' );
45 |
> 46 | await expect( avatarImage ).toBeVisible();
| ^
47 |
48 | const originalSrc = await avatarImage.getAttribute( 'src' );
49 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/avatar.spec.js:46:31
|
[chromium] › editor/blocks/avatar.spec.js:29:2 › Avatar › should change image when user is changed:
test/e2e/specs/editor/blocks/avatar.spec.js#L46
1) [chromium] › editor/blocks/avatar.spec.js:29:2 › Avatar › should change image when user is changed
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=document[name="Block: Avatar"i]').locator('img')
- waiting for locator('role=document[name="Block: Avatar"i]').locator('img')
44 | const avatarImage = avatarBlock.locator( 'img' );
45 |
> 46 | await expect( avatarImage ).toBeVisible();
| ^
47 |
48 | const originalSrc = await avatarImage.getAttribute( 'src' );
49 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/avatar.spec.js:46:31
|
[chromium] › editor/blocks/buttons.spec.js:11:2 › Buttons › has focus on button content:
test/e2e/specs/editor/blocks/buttons.spec.js#L15
2) [chromium] › editor/blocks/buttons.spec.js:11:2 › Buttons › has focus on button content ───────
Error: Timed out 5000ms waiting for expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for locator('role=textbox[name="Button text"i]')
- waiting for locator('role=textbox[name="Button text"i]')
13 | await expect(
14 | editor.canvas.locator( 'role=textbox[name="Button text"i]' )
> 15 | ).toBeFocused();
| ^
16 | await page.keyboard.type( 'Content' );
17 |
18 | // Check the content.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:15:5
|
[chromium] › editor/blocks/buttons.spec.js:11:2 › Buttons › has focus on button content:
test/e2e/specs/editor/blocks/buttons.spec.js#L15
2) [chromium] › editor/blocks/buttons.spec.js:11:2 › Buttons › has focus on button content ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for locator('role=textbox[name="Button text"i]')
- waiting for locator('role=textbox[name="Button text"i]')
13 | await expect(
14 | editor.canvas.locator( 'role=textbox[name="Button text"i]' )
> 15 | ).toBeFocused();
| ^
16 | await page.keyboard.type( 'Content' );
17 |
18 | // Check the content.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:15:5
|
[chromium] › editor/blocks/buttons.spec.js:11:2 › Buttons › has focus on button content:
test/e2e/specs/editor/blocks/buttons.spec.js#L15
2) [chromium] › editor/blocks/buttons.spec.js:11:2 › Buttons › has focus on button content ───────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for locator('role=textbox[name="Button text"i]')
- waiting for locator('role=textbox[name="Button text"i]')
13 | await expect(
14 | editor.canvas.locator( 'role=textbox[name="Button text"i]' )
> 15 | ).toBeFocused();
| ^
16 | await page.keyboard.type( 'Content' );
17 |
18 | // Check the content.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:15:5
|
[chromium] › editor/blocks/buttons.spec.js:29:2 › Buttons › has focus on button content (slash inserter):
test/e2e/specs/editor/blocks/buttons.spec.js#L40
3) [chromium] › editor/blocks/buttons.spec.js:29:2 › Buttons › has focus on button content (slash inserter)
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 5
+ Received + 7
- <!-- wp:buttons -->
- <div class="wp-block-buttons"><!-- wp:button -->
+ <!-- wp:paragraph -->
+ <p></p>
+ <!-- /wp:paragraph -->
- <div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Content</a></div>
+
+ <!-- wp:paragraph -->
+ <p>Content</p>
- <!-- /wp:button --></div>
- <!-- /wp:buttons -->
+ <!-- /wp:paragraph -->
38 | // Check the content.
39 | const content = await editor.getEditedPostContent();
> 40 | expect( content ).toBe(
| ^
41 | `<!-- wp:buttons -->
42 | <div class="wp-block-buttons"><!-- wp:button -->
43 | <div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Content</a></div>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:40:21
|
[chromium] › editor/blocks/buttons.spec.js:29:2 › Buttons › has focus on button content (slash inserter):
test/e2e/specs/editor/blocks/buttons.spec.js#L40
3) [chromium] › editor/blocks/buttons.spec.js:29:2 › Buttons › has focus on button content (slash inserter)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 5
+ Received + 7
- <!-- wp:buttons -->
- <div class="wp-block-buttons"><!-- wp:button -->
+ <!-- wp:paragraph -->
+ <p></p>
+ <!-- /wp:paragraph -->
- <div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Content</a></div>
+
+ <!-- wp:paragraph -->
+ <p>Content</p>
- <!-- /wp:button --></div>
- <!-- /wp:buttons -->
+ <!-- /wp:paragraph -->
38 | // Check the content.
39 | const content = await editor.getEditedPostContent();
> 40 | expect( content ).toBe(
| ^
41 | `<!-- wp:buttons -->
42 | <div class="wp-block-buttons"><!-- wp:button -->
43 | <div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Content</a></div>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:40:21
|
[chromium] › editor/blocks/buttons.spec.js:29:2 › Buttons › has focus on button content (slash inserter):
test/e2e/specs/editor/blocks/buttons.spec.js#L40
3) [chromium] › editor/blocks/buttons.spec.js:29:2 › Buttons › has focus on button content (slash inserter)
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 5
+ Received + 7
- <!-- wp:buttons -->
- <div class="wp-block-buttons"><!-- wp:button -->
+ <!-- wp:paragraph -->
+ <p></p>
+ <!-- /wp:paragraph -->
- <div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Content</a></div>
+
+ <!-- wp:paragraph -->
+ <p>Content</p>
- <!-- /wp:button --></div>
- <!-- /wp:buttons -->
+ <!-- /wp:paragraph -->
38 | // Check the content.
39 | const content = await editor.getEditedPostContent();
> 40 | expect( content ).toBe(
| ^
41 | `<!-- wp:buttons -->
42 | <div class="wp-block-buttons"><!-- wp:button -->
43 | <div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Content</a></div>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:40:21
|
[chromium] › editor/blocks/buttons.spec.js:49:2 › Buttons › dismisses link editor when escape is pressed:
test/e2e/specs/editor/blocks/buttons.spec.js#L58
4) [chromium] › editor/blocks/buttons.spec.js:49:2 › Buttons › dismisses link editor when escape is pressed
Error: Timed out 5000ms waiting for expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for locator('role=textbox[name="Button text"i]')
- waiting for locator('role=textbox[name="Button text"i]')
56 | await expect(
57 | editor.canvas.locator( 'role=textbox[name="Button text"i]' )
> 58 | ).toBeFocused();
| ^
59 | await pageUtils.pressKeys( 'primary+k' );
60 | await expect(
61 | page.locator( 'role=combobox[name="Link"i]' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:58:5
|
Puppeteer - 1
The job running on runner GitHub Actions 72 has exceeded the maximum execution time of 360 minutes.
|
Puppeteer - 1
The operation was canceled.
|
🎭 Playwright Run Summary
123 failed
[chromium] › editor/plugins/custom-post-types.spec.js:17:2 › Test Custom Post Types › should be able to create an hierarchical post without title support
[chromium] › editor/plugins/custom-post-types.spec.js:65:2 › Test Custom Post Types › should create a cpt with a legacy block in its template without WSOD
[chromium] › editor/plugins/format-api.spec.js:19:2 › Using Format API › Clicking the control wraps the selected text properly with HTML code
[chromium] › editor/plugins/format-api.spec.js:41:2 › Using Format API › should show unknow formatting button
[chromium] › editor/plugins/hooks-api.spec.js:20:2 › Using Hooks API › Should contain a reset block button on the sidebar
[chromium] › editor/plugins/hooks-api.spec.js:35:2 › Using Hooks API › Pressing reset block button resets the block
[chromium] › editor/plugins/iframed-block.spec.js:16:2 › Iframed block › should load script and dependencies in iframe
[chromium] › editor/plugins/image-size.spec.js:25:2 › changing image size › should insert and change my image size
[chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:23:2 › Allowed Blocks Setting on InnerBlocks › allows all blocks if the allowed blocks setting was not set
[chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:60:2 › Allowed Blocks Setting on InnerBlocks › limits the blocks if the allowed blocks setting was set
[chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:106:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions
[chromium] › editor/plugins/nonce.spec.js:11:2 › Nonce › should refresh when expired ───────────
[chromium] › editor/plugins/post-type-templates.spec.js:24:3 › Post type templates › Using a CPT with a predefined template › Should add a custom post types with a predefined template
[chromium] › editor/plugins/post-type-templates.spec.js:30:3 › Post type templates › Using a CPT with a predefined template › Should respect user edits to not re-apply template after save (single block removal)
[chromium] › editor/plugins/post-type-templates.spec.js:107:3 › Post type templates › With default post format assigned › should populate new post with default block for format
[chromium] › editor/plugins/post-type-templates.spec.js:119:3 › Post type templates › With default post format assigned › should not populate edited post with default block for format
[chromium] › editor/plugins/wp-editor-meta-box.spec.js:19:2 › WP Editor Meta Boxes › Should save the changes
[chromium] › editor/various/a11y.spec.js:130:2 › a11y (@Firefox, @WebKit) › should make the modal content focusable when it is scrollable
[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:214:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should allow mention selection via click event
[chromium] › editor/various/autocomplete-and-mentions.spec.js:249:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should allow mention selection via keypress event
[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-me
|
🎭 Playwright Run Summary
98 failed
[chromium] › editor/various/shortcut-focus-toolbar.spec.js:17:2 › Focus toolbar shortcut (alt + F10) › Focuses correct toolbar in default view options in edit mode
[chromium] › editor/various/shortcut-focus-toolbar.spec.js:90:3 › Focus toolbar shortcut (alt + F10) › In Top Toolbar option: › Focuses the correct toolbar in edit mode
[chromium] › editor/various/shortcut-focus-toolbar.spec.js:117:3 › Focus toolbar shortcut (alt + F10) › In Top Toolbar option: › Focuses the correct toolbar in select mode
[chromium] › editor/various/shortcut-focus-toolbar.spec.js:157:3 › Focus toolbar shortcut (alt + F10) › Smaller than large viewports › Focuses the correct toolbar in edit mode
[chromium] › editor/various/shortcut-focus-toolbar.spec.js:190:3 › Focus toolbar shortcut (alt + F10) › Smaller than large viewports › Focuses the correct toolbar in select mode
[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: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:182:2 › splitting and merging blocks (@Firefox, @WebKit) › should gracefully handle if placing caret in empty container
[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:347:2 › splitting and merging blocks (@Firefox, @WebKit) › should not split with line break in front (-firefox)
[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/toolbar-roving-tabindex.spec.js:19:2 › Toolbar roving tabindex › ensures base block toolbars use roving tabindex
[chromium] › editor/various/toolbar-roving-tabindex.spec.js:118:2 › Toolbar roving tabindex › ensures block toolbar remembers the last focused item
[chromium] › editor/various/toolbar-roving-tabindex.spec.js:134:2 › Toolbar roving tabindex › can reach toolbar items with arrow keys after pressing alt+F10
[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:368:2 › undo › should not create undo levels when saving
[chromium] › editor/various/undo.spec.js:386:2 › undo › should not create undo levels when publishing
[chromium] › editor/various/undo.spec.js:399:2 › undo › should immediately create an undo level on typing
[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/writing-flow.spec.js:21:2 › Writing Flow (@Firefox, @WebKit) › Should navigate inner blocks with arrow keys
[chromium] › edi
|
🎭 Playwright Run Summary
163 failed
[webkit] › editor/various/a11y.spec.js:130:2 › a11y (@Firefox, @WebKit) › should make the modal content focusable when it is scrollable
[webkit] › editor/various/autocomplete-and-mentions.spec.js:83:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention
[webkit] › editor/various/autocomplete-and-mentions.spec.js:131:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention between two other words
[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:214:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should allow mention selection via click event
[webkit] › editor/various/autocomplete-and-mentions.spec.js:249:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should allow mention selection via keypress event
[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:214:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should allow option selection via click event
[webkit] › editor/various/autocomplete-and-mentions.spec.js:249:3 › Autocomplete (@Firefox, @WebKit) › Custom Completer: should allow option selection via keypress event
[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/autocomplete-and-mentions.spec.js:443:2 › Autocomplete (@Firefox, @WebKit) › should hide UI when selection changes (by keyboard)
[webkit] › editor/various/autocomplete-and-mentions.spec.js:458:2 › Autocomplete (@Firefox, @WebKit) › should hide UI when selection changes (by mouse)
[webkit] › editor/various/autocomplete-and-mentions.spec.js:479:2 › Autocomplete (@Firefox, @WebKit) › should allow speaking number of initial results
[webkit] › editor/various/inserting-blocks.spec.js:34:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter
[webkit] › editor/various/inserting-blocks.spec.js:113:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging blocks from the global inserter by pressing Escape
[webkit] › editor/various/inserting-blocks.spec.js:170:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
[webkit] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging patterns from the global inserter by pressing Escape
[webkit] › editor/various/multi-block-selection.spec.js:1182:2 › Multi-block selec
|
🎭 Playwright Run Summary
193 failed
[chromium] › editor/blocks/avatar.spec.js:29:2 › Avatar › should change image when user is changed
[chromium] › editor/blocks/buttons.spec.js:11:2 › Buttons › has focus on button content ────────
[chromium] › editor/blocks/buttons.spec.js:29:2 › Buttons › has focus on button content (slash inserter)
[chromium] › editor/blocks/buttons.spec.js:49:2 › Buttons › dismisses link editor when escape is pressed
[chromium] › editor/blocks/buttons.spec.js:80:2 › Buttons › moves focus from the link editor back to the button when escape is pressed after the URL has been submitted
[chromium] › editor/blocks/buttons.spec.js:112:2 › Buttons › appends http protocol to links added which are missing a protocol
[chromium] › editor/blocks/buttons.spec.js:138:2 › Buttons › can jump to the link editor using the keyboard shortcut
[chromium] › editor/blocks/buttons.spec.js:165:2 › Buttons › can resize width ──────────────────
[chromium] › editor/blocks/buttons.spec.js:187:2 › Buttons › can apply named colors ────────────
[chromium] › editor/blocks/buttons.spec.js:216:2 › Buttons › can apply custom colors ───────────
[chromium] › editor/blocks/buttons.spec.js:248:2 › Buttons › can apply named gradient background color
[chromium] › editor/blocks/buttons.spec.js:277:2 › Buttons › can apply custom gradient background color
[chromium] › editor/blocks/classic.spec.js:36:2 › Classic › should be inserted ─────────────────
[chromium] › editor/blocks/classic.spec.js:47:2 › Classic › should insert media, convert to blocks, and undo in one step
[chromium] › editor/blocks/classic.spec.js:109:2 › Classic › Should not fail after save/reload ─
[chromium] › editor/blocks/code.spec.js:11:2 › Code › can be created by three backticks and enter
[chromium] › editor/blocks/code.spec.js:37:2 › Code › should paste plain text ──────────────────
[chromium] › editor/blocks/columns.spec.js:15:2 › Columns › restricts all blocks inside the columns block
[chromium] › editor/blocks/columns.spec.js:49:2 › Columns › prevent the removal of locked column block from the column count change UI
[chromium] › editor/blocks/columns.spec.js:126:2 › Columns › can exit on Enter ─────────────────
[chromium] › editor/blocks/columns.spec.js:178:2 › Columns › should not split in middle ────────
[chromium] › editor/blocks/columns.spec.js:288:3 › Columns › following paragraph › should only select Columns on Backspace when non-empty
[chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments
[chromium] › editor/blocks/comments.spec.js:60:2 › Comments › Pagination links are working as expected
[chromium] › editor/blocks/comments.spec.js:112:2 › Comments › Pagination links are not appearing if break comments is not enabled
[chromium] › editor/blocks/comments.spec.js:146:2 › Comments › A button allows the block to switch from legacy mode to editable mode
[chromium] › editor/blocks/comments.spec.js:181:2 › Comments › The editable block version is rendered if the legacy attribute is false
[chromium] › editor/blocks/cover.spec.js:27:2 › Cover › can set overlay color using color picker on block placeholder
[chromium] › editor/blocks/cover.spec.js:57:2 › Cover › can set background image using image upload on block placeholder
[chromium] › editor/blocks/cover.spec.js:80:2 › Cover › dims background image down by 50% by default
[chromium] › editor/blocks/cover.spec.js:104:2 › Cover › can have the title edited ─────────────
[chromium] › editor/blocks/cover.spec.js:132:2 › Cover › can be resized using drag & drop ──────
[chromium] › editor/blocks/cover.spec.js:204:2 › Cover › dims the background image down by 50% when transformed from the Image block
[chromium] › editor/blocks/gallery.spec.js:42:2 › Gallery › can be transformed from pasting shortcode, and can undo/redo
[chromium] › editor/blocks/gallery.spec.js:87:2 › Gallery › can be created using uploaded images
[chromium] › ed
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
3.55 GB |
|
flaky-tests-report
Expired
|
55.6 KB |
|