Skip to content

[WIP] Patterns: merge the inserter synced patterns tab into the patterns tab #82022

[WIP] Patterns: merge the inserter synced patterns tab into the patterns tab

[WIP] Patterns: merge the inserter synced patterns tab into the patterns tab #82022

Triggered via pull request August 28, 2023 04:07
Status Failure
Total duration 36m 1s
Artifacts 2
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 9s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 4 notices
[chromium] › editor/various/adding-patterns.spec.js:11:2 › adding patterns › should insert a block pattern: test/e2e/specs/editor/various/adding-patterns.spec.js#L24
1) [chromium] › editor/various/adding-patterns.spec.js:11:2 › adding patterns › should insert a block pattern Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { - "name": "core/social-links", + "name": "core/block", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 22 | 'role=option[name="Social links with a shared background color"i]' 23 | ); > 24 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 25 | { 26 | name: 'core/social-links', 27 | }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/adding-patterns.spec.js:24:3
[chromium] › editor/various/adding-patterns.spec.js:11:2 › adding patterns › should insert a block pattern: test/e2e/specs/editor/various/adding-patterns.spec.js#L24
1) [chromium] › editor/various/adding-patterns.spec.js:11:2 › adding patterns › should insert a block pattern Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { - "name": "core/social-links", + "name": "core/block", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 22 | 'role=option[name="Social links with a shared background color"i]' 23 | ); > 24 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 25 | { 26 | name: 'core/social-links', 27 | }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/adding-patterns.spec.js:24:3
[chromium] › editor/various/adding-patterns.spec.js:11:2 › adding patterns › should insert a block pattern: test/e2e/specs/editor/various/adding-patterns.spec.js#L24
1) [chromium] › editor/various/adding-patterns.spec.js:11:2 › adding patterns › should insert a block pattern Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { - "name": "core/social-links", + "name": "core/block", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 22 | 'role=option[name="Social links with a shared background color"i]' 23 | ); > 24 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 25 | { 26 | name: 'core/social-links', 27 | }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/adding-patterns.spec.js:24:3
Playwright - 2
Process completed with exit code 1.
Puppeteer - 1: packages/e2e-tests/specs/editor/various/reusable-blocks.test.js#L813
TimeoutError: waiting for XPath `//div[contains(@Class, "block-editor-inserter__tabs")]//button[@aria-label = "Synced patterns"]` failed: timeout 30000ms exceeded at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22) at Frame.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47) at Page.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3281:29) at waitForXPath (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:115:31) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at insertFromGlobalInserter (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:230:2) at insertReusableBlock (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:350:2) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/reusable-blocks.test.js:77:3)
Puppeteer - 1: packages/e2e-tests/specs/editor/various/reusable-blocks.test.js#L813
TimeoutError: waiting for XPath `//div[contains(@Class, "block-editor-inserter__tabs")]//button[@aria-label = "Synced patterns"]` failed: timeout 30000ms exceeded at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22) at Frame.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47) at Page.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3281:29) at waitForXPath (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:115:31) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at insertFromGlobalInserter (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:230:2) at insertReusableBlock (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:350:2) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/reusable-blocks.test.js:173:3)
Puppeteer - 1: packages/e2e-tests/specs/editor/various/reusable-blocks.test.js#L813
TimeoutError: waiting for XPath `//div[contains(@Class, "block-editor-inserter__tabs")]//button[@aria-label = "Synced patterns"]` failed: timeout 30000ms exceeded at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22) at Frame.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47) at Page.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3281:29) at waitForXPath (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:115:31) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at insertFromGlobalInserter (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:230:2) at insertReusableBlock (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:350:2) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/reusable-blocks.test.js:218:3)
Puppeteer - 1: packages/e2e-tests/specs/editor/various/reusable-blocks.test.js#L813
TimeoutError: waiting for XPath `//div[contains(@Class, "block-editor-inserter__tabs")]//button[@aria-label = "Synced patterns"]` failed: timeout 30000ms exceeded at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22) at Frame.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47) at Page.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3281:29) at waitForXPath (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:115:31) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at insertFromGlobalInserter (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:230:2) at insertReusableBlock (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:350:2) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/reusable-blocks.test.js:234:3)
Puppeteer - 1: packages/e2e-tests/specs/editor/various/reusable-blocks.test.js#L813
TimeoutError: waiting for XPath `//div[contains(@Class, "block-editor-inserter__tabs")]//button[@aria-label = "Synced patterns"]` failed: timeout 30000ms exceeded at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22) at Frame.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47) at Page.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3281:29) at waitForXPath (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:115:31) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at insertFromGlobalInserter (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:230:2) at insertReusableBlock (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:350:2) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/reusable-blocks.test.js:301:3)
Puppeteer - 1
Process completed with exit code 1.
[firefox] › editor/various/inserting-blocks.spec.js:34:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L1
1) [firefox] › editor/various/inserting-blocks.spec.js:34:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter Error: Object with guid handle@f955b9a224e2b7e834d13841d443e1a5 was not bound in the connection
[firefox] › editor/various/inserting-blocks.spec.js:34:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L1
1) [firefox] › editor/various/inserting-blocks.spec.js:34:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter Test finished within timeout of 200000ms, but tearing down "context" ran out of time. Please allow more time for the test, since teardown is attributed towards the test timeout budget.
[webkit] › editor/various/multi-block-selection.spec.js:1182:2 › Multi-block selection › should partially select with shift + click (@webkit): test/e2e/specs/editor/various/multi-block-selection.spec.js#L1225
2) [webkit] › editor/various/multi-block-selection.spec.js:1182:2 › Multi-block selection › should partially select with shift + click (@WebKit) Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "<strong>1</strong>|2", + "content": "|", }, "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 1223 | // Ensure selection is in the correct place. 1224 | await page.keyboard.type( '|' ); > 1225 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 1226 | { 1227 | name: 'core/paragraph', 1228 | attributes: { content: '<strong>1</strong>|2' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:1225:3
Playwright - 4
Process completed with exit code 1.
🎭 Playwright Run Summary
1 skipped 208 passed (13.3m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/various/adding-patterns.spec.js:11:2 › adding patterns › should insert a block pattern 201 passed (14.1m)
🎭 Playwright Run Summary
1 failed [firefox] › editor/various/inserting-blocks.spec.js:34:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter 1 flaky [webkit] › editor/various/multi-block-selection.spec.js:1182:2 › Multi-block selection › should partially select with shift + click (@WebKit) 1 skipped 205 passed (22.9m)
🎭 Playwright Run Summary
216 passed (22.4m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
18 MB
flaky-tests-report Expired
3.77 KB