Skip to content

Patterns: Add user pattern categories to post editor inserter patterns tab #81926

Patterns: Add user pattern categories to post editor inserter patterns tab

Patterns: Add user pattern categories to post editor inserter patterns tab #81926

Triggered via pull request August 25, 2023 04:43
Status Cancelled
Total duration 45m 24s
Artifacts 2

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

26 errors and 3 notices
Puppeteer - 2: packages/e2e-tests/specs/experiments/blocks/post-comments-form.test.js#L813
TimeoutError: waiting for selector `.block-editor-inserter__menu` failed: timeout 30000ms exceeded at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22) at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19) at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25) at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47) at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29) at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:26:14) 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:229:2) at insertBlock (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:330:2) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/experiments/blocks/post-comments-form.test.js:45:4)
Puppeteer - 2: packages/e2e-tests/specs/experiments/blocks/post-comments-form.test.js#L11
Error: expect(jest.fn()).not.toHaveErrored(expected) Expected mock function not to be called but it was called with: ["TypeError: Cannot read properties of undefined (reading 'patternCategories') at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=59b39c69487b68a290fc:11:6015 at http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:22831 at __unstableMarkListeningStores (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:20333) at Object.__unstableMarkListeningStores (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:20590) at l (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:22796) at http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:23300 at He (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:23430) at Ke (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:23747) at jm (http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=59b39c69487b68a290fc:11:5819) at wg (http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=59b39c69487b68a290fc:16:2461)"] 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:300:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10) at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280: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:253:5) at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:147:7) at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9) at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9) at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70: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 - 2
Process completed with exit code 1.
Puppeteer - 1: packages/e2e-tests/specs/widgets/editing-widgets.test.js#L813
TimeoutError: waiting for XPath `//*[@ROLE='option' and contains(., 'Marquee Greeting')]` 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:185:23) at waitForInsertElement (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:215:31) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at searchForBlock (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:288:9) at getBlockInGlobalInserter (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/widgets/editing-widgets.test.js:94:3) at addMarquee (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/widgets/editing-widgets.test.js:391:25) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/widgets/editing-widgets.test.js:444:4)
Puppeteer - 1: packages/e2e-tests/specs/widgets/editing-widgets.test.js#L11
Error: expect(jest.fn()).not.toHaveErrored(expected) Expected mock function not to be called but it was called with: ["TypeError: Cannot read properties of undefined (reading 'patternCategories') at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=59b39c69487b68a290fc:11:6015 at http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:22831 at __unstableMarkListeningStores (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:20333) at Object.__unstableMarkListeningStores (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:20590) at l (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:22796) at http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:23300 at He (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:23430) at Ke (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:23747) at jm (http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=59b39c69487b68a290fc:11:5819) at rh (http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=59b39c69487b68a290fc:17:7278)"] 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:300:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10) at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280: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:253:5) at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:147:7) at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9) at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9) at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70: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 - 1: packages/e2e-tests/specs/widgets/editing-widgets.test.js#L813
TimeoutError: waiting for XPath `//*[@ROLE='option' and contains(., 'Paragraph')]` 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:185:23) at waitForInsertElement (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:215:31) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at searchForBlock (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:288:9) at getBlockInGlobalInserter (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/widgets/editing-widgets.test.js:94:3) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/widgets/editing-widgets.test.js:790:27)
Puppeteer - 1: packages/e2e-tests/specs/widgets/editing-widgets.test.js#L11
Error: expect(jest.fn()).not.toHaveErrored(expected) Expected mock function not to be called but it was called with: ["TypeError: Cannot read properties of undefined (reading 'patternCategories') at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=59b39c69487b68a290fc:11:6015 at http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:22831 at __unstableMarkListeningStores (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:20333) at Object.__unstableMarkListeningStores (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:20590) at l (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:22796) at http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:23300 at He (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:23430) at Ke (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:23747) at jm (http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=59b39c69487b68a290fc:11:5819) at rh (http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=59b39c69487b68a290fc:17:7278)"] 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:300:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10) at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280: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:253:5) at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:147:7) at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9) at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70: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 - 1: packages/e2e-tests/specs/widgets/editing-widgets.test.js#L813
TimeoutError: waiting for XPath `//*[@ROLE='option' and contains(., 'Paragraph')]` 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:185:23) at waitForInsertElement (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:215:31) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at searchForBlock (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:288:9) at getBlockInGlobalInserter (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/widgets/editing-widgets.test.js:94:3) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/widgets/editing-widgets.test.js:864:29)
Puppeteer - 1: packages/e2e-tests/specs/widgets/editing-widgets.test.js#L11
Error: expect(jest.fn()).not.toHaveErrored(expected) Expected mock function not to be called but it was called with: ["TypeError: Cannot read properties of undefined (reading 'patternCategories') at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=59b39c69487b68a290fc:11:6015 at http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:22831 at __unstableMarkListeningStores (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:20333) at Object.__unstableMarkListeningStores (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:20590) at l (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:22796) at http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:23300 at He (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:23430) at Ke (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:23747) at jm (http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=59b39c69487b68a290fc:11:5819) at rh (http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=59b39c69487b68a290fc:17:7278)"] 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:300:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10) at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280: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:253:5) at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:147:7) at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9) at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70: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 - 1: packages/e2e-tests/specs/site-editor/settings-sidebar.test.js#L813
TimeoutError: waiting for selector `.block-editor-inserter__menu` failed: timeout 30000ms exceeded at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22) at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19) at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25) at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47) at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29) at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:26:14) 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:229:2) at insertBlock (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:330:2) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/site-editor/settings-sidebar.test.js:107:4)
Puppeteer - 1: packages/e2e-tests/specs/site-editor/settings-sidebar.test.js#L11
Error: expect(jest.fn()).not.toHaveErrored(expected) Expected mock function not to be called but it was called with: ["TypeError: Cannot read properties of undefined (reading 'patternCategories') at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=59b39c69487b68a290fc:11:6015 at http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:22831 at __unstableMarkListeningStores (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:20333) at Object.__unstableMarkListeningStores (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:20590) at l (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:22796) at http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:23300 at He (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:23430) at Ke (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:23747) at jm (http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=59b39c69487b68a290fc:11:5819) at wg (http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=59b39c69487b68a290fc:16:2461)"] 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:300:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10) at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280: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:253:5) at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:147:7) at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9) at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9) at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70: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 - 1: packages/e2e-tests/specs/site-editor/settings-sidebar.test.js#L813
TimeoutError: waiting for selector `.block-editor-inserter__menu` failed: timeout 30000ms exceeded at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22) at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19) at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25) at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47) at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29) at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:26:14) 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:229:2) at insertBlock (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:330:2) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/site-editor/settings-sidebar.test.js:111:4)
Puppeteer - 1: packages/e2e-tests/specs/site-editor/settings-sidebar.test.js#L11
Error: expect(jest.fn()).not.toHaveErrored(expected) Expected mock function not to be called but it was called with: ["TypeError: Cannot read properties of undefined (reading 'patternCategories') at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=59b39c69487b68a290fc:11:6015 at http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:22831 at __unstableMarkListeningStores (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:20333) at Object.__unstableMarkListeningStores (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:20590) at l (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:22796) at http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:23300 at He (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:23430) at Ke (http://localhost:8889/wp-content/plugins/gutenberg/build/data/index.min.js?ver=952cc2c2dad70784d2e8:1:23747) at jm (http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=59b39c69487b68a290fc:11:5819) at wg (http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=59b39c69487b68a290fc:16:2461)"] 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:300:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10) at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280: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:253:5) at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:147:7) at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9) at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9) at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70: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)
[chromium] › site-editor/pages.spec.js:19:2 › Pages › create a new page: test/e2e/specs/site-editor/pages.spec.js#L62
1) [chromium] › site-editor/pages.spec.js:19:2 › Pages › create a new page ─────────────────────── TimeoutError: locator.fill: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByPlaceholder('Search') ============================================================ 60 | .getByRole( 'button', { name: 'Add block' } ) 61 | .click(); > 62 | await page.getByPlaceholder( 'Search' ).fill( 'list' ); | ^ 63 | await page.getByRole( 'option', { name: 'List', exact: true } ).click(); 64 | await page.keyboard.type( 'Lorem ipsum' ); 65 | await page.keyboard.press( 'Enter' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:62:43
[chromium] › site-editor/pages.spec.js:19:2 › Pages › create a new page: test/e2e/specs/site-editor/pages.spec.js#L62
1) [chromium] › site-editor/pages.spec.js:19:2 › Pages › create a new page ─────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.fill: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByPlaceholder('Search') ============================================================ 60 | .getByRole( 'button', { name: 'Add block' } ) 61 | .click(); > 62 | await page.getByPlaceholder( 'Search' ).fill( 'list' ); | ^ 63 | await page.getByRole( 'option', { name: 'List', exact: true } ).click(); 64 | await page.keyboard.type( 'Lorem ipsum' ); 65 | await page.keyboard.press( 'Enter' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:62:43
[chromium] › site-editor/pages.spec.js:19:2 › Pages › create a new page: test/e2e/specs/site-editor/pages.spec.js#L62
1) [chromium] › site-editor/pages.spec.js:19:2 › Pages › create a new page ─────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.fill: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByPlaceholder('Search') ============================================================ 60 | .getByRole( 'button', { name: 'Add block' } ) 61 | .click(); > 62 | await page.getByPlaceholder( 'Search' ).fill( 'list' ); | ^ 63 | await page.getByRole( 'option', { name: 'List', exact: true } ).click(); 64 | await page.keyboard.type( 'Lorem ipsum' ); 65 | await page.keyboard.press( 'Enter' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:62:43
[chromium] › site-editor/site-editor-inserter.spec.js:24:2 › Site Editor Inserter › inserter toggle button should toggle global inserter: test/e2e/specs/site-editor/site-editor-inserter.spec.js#L34
2) [chromium] › site-editor/site-editor-inserter.spec.js:24:2 › Site Editor Inserter › inserter toggle button should toggle global inserter Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('role=searchbox[name="Search for blocks and patterns"i]') - waiting for locator('role=searchbox[name="Search for blocks and patterns"i]') 32 | 'role=searchbox[name="Search for blocks and patterns"i]' 33 | ) > 34 | ).toBeVisible(); | ^ 35 | await page.click( 'role=button[name="Toggle block inserter"i]' ); 36 | //Hidden State check 37 | await expect( at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-inserter.spec.js:34:5
[chromium] › site-editor/site-editor-inserter.spec.js:24:2 › Site Editor Inserter › inserter toggle button should toggle global inserter: test/e2e/specs/site-editor/site-editor-inserter.spec.js#L34
2) [chromium] › site-editor/site-editor-inserter.spec.js:24:2 › Site Editor Inserter › inserter toggle button should toggle global inserter Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('role=searchbox[name="Search for blocks and patterns"i]') - waiting for locator('role=searchbox[name="Search for blocks and patterns"i]') 32 | 'role=searchbox[name="Search for blocks and patterns"i]' 33 | ) > 34 | ).toBeVisible(); | ^ 35 | await page.click( 'role=button[name="Toggle block inserter"i]' ); 36 | //Hidden State check 37 | await expect( at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-inserter.spec.js:34:5
[chromium] › site-editor/site-editor-inserter.spec.js:24:2 › Site Editor Inserter › inserter toggle button should toggle global inserter: test/e2e/specs/site-editor/site-editor-inserter.spec.js#L34
2) [chromium] › site-editor/site-editor-inserter.spec.js:24:2 › Site Editor Inserter › inserter toggle button should toggle global inserter Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('role=searchbox[name="Search for blocks and patterns"i]') - waiting for locator('role=searchbox[name="Search for blocks and patterns"i]') 32 | 'role=searchbox[name="Search for blocks and patterns"i]' 33 | ) > 34 | ).toBeVisible(); | ^ 35 | await page.click( 'role=button[name="Toggle block inserter"i]' ); 36 | //Hidden State check 37 | await expect( at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-inserter.spec.js:34:5
[chromium] › site-editor/site-editor-inserter.spec.js:45:2 › Site Editor Inserter › should close the inserter when clicking on the toggle button: test/e2e/specs/site-editor/site-editor-inserter.spec.js#L59
3) [chromium] › site-editor/site-editor-inserter.spec.js:45:2 › Site Editor Inserter › should close the inserter when clicking on the toggle button TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('region', { name: 'Block Library' }).getByRole('tab', { name: 'Blocks' }) ============================================================ 57 | 58 | await inserterButton.click(); > 59 | await blockLibrary.getByRole( 'tab', { name: 'Blocks' } ).click(); | ^ 60 | await blockLibrary.getByRole( 'option', { name: 'Buttons' } ).click(); 61 | 62 | await expect at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-inserter.spec.js:59:61
[chromium] › site-editor/site-editor-inserter.spec.js:45:2 › Site Editor Inserter › should close the inserter when clicking on the toggle button: test/e2e/specs/site-editor/site-editor-inserter.spec.js#L59
3) [chromium] › site-editor/site-editor-inserter.spec.js:45:2 › Site Editor Inserter › should close the inserter when clicking on the toggle button Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('region', { name: 'Block Library' }).getByRole('tab', { name: 'Blocks' }) ============================================================ 57 | 58 | await inserterButton.click(); > 59 | await blockLibrary.getByRole( 'tab', { name: 'Blocks' } ).click(); | ^ 60 | await blockLibrary.getByRole( 'option', { name: 'Buttons' } ).click(); 61 | 62 | await expect at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-inserter.spec.js:59:61
[chromium] › site-editor/site-editor-inserter.spec.js:45:2 › Site Editor Inserter › should close the inserter when clicking on the toggle button: test/e2e/specs/site-editor/site-editor-inserter.spec.js#L59
3) [chromium] › site-editor/site-editor-inserter.spec.js:45:2 › Site Editor Inserter › should close the inserter when clicking on the toggle button Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('region', { name: 'Block Library' }).getByRole('tab', { name: 'Blocks' }) ============================================================ 57 | 58 | await inserterButton.click(); > 59 | await blockLibrary.getByRole( 'tab', { name: 'Blocks' } ).click(); | ^ 60 | await blockLibrary.getByRole( 'option', { name: 'Buttons' } ).click(); 61 | 62 | await expect at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-inserter.spec.js:59:61
[chromium] › widgets/customizing-widgets.spec.js:39:2 › Widgets Customizer › should add blocks: test/e2e/specs/widgets/customizing-widgets.spec.js#L679
4) [chromium] › widgets/customizing-widgets.spec.js:39:2 › Widgets Customizer › should add blocks TimeoutError: page.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=option[name="Paragraph"]') locator resolved to <button tabindex="0" type="button" role="option" id="id-…>…</button> attempting click action waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling element was detached from the DOM, retrying ============================================================ 677 | await searchBox.type( blockName ); 678 | > 679 | await this.page.click( `role=option[name="${ blockName }"]` ); | ^ 680 | 681 | const addedBlock = this.page.locator( 682 | 'role=document >> css=.is-selected[data-block]' at WidgetsCustomizerPage.addBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/widgets/customizing-widgets.spec.js:679:19) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/widgets/customizing-widgets.spec.js:49:3
[chromium] › editor/various/inserting-blocks.spec.js:170:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L234
1) [chromium] › editor/various/inserting-blocks.spec.js:170:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('data-testid=block-draggable-chip').locator('visible=true') - waiting for locator('data-testid=block-draggable-chip').locator('visible=true') 232 | .toBeGreaterThan( paragraphBoundingBox.y ); 233 | > 234 | await expect( insertingBlocksUtils.draggableChip ).toBeVisible(); | ^ 235 | 236 | await page.mouse.up(); 237 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:234:54
Playwright - 4
Canceling since a higher priority waiting request for 'End-to-End Tests-add/pattern-category-filtering-post-editor' exists
Playwright - 4
The operation was canceled.
🎭 Playwright Run Summary
8 failed [chromium] › site-editor/pages.spec.js:19:2 › Pages › create a new page ──────────────────────── [chromium] › site-editor/site-editor-inserter.spec.js:24:2 › Site Editor Inserter › inserter toggle button should toggle global inserter [chromium] › site-editor/site-editor-inserter.spec.js:45:2 › Site Editor Inserter › should close the inserter when clicking on the toggle button [chromium] › widgets/customizing-widgets.spec.js:39:2 › Widgets Customizer › should add blocks ─ [chromium] › widgets/customizing-widgets.spec.js:167:2 › Widgets Customizer › should handle the inserter outer section [chromium] › widgets/customizing-widgets.spec.js:346:2 › Widgets Customizer › should handle legacy widgets [chromium] › widgets/customizing-widgets.spec.js:536:2 › Widgets Customizer › should stay in block settings after making a change in that area [chromium] › widgets/customizing-widgets.spec.js:588:2 › Widgets Customizer › preserves content in the Custom HTML block 1 skipped 200 passed (20.9m)
🎭 Playwright Run Summary
216 passed (20.6m)
🎭 Playwright Run Summary
1 flaky [chromium] › editor/various/inserting-blocks.spec.js:170:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter 201 passed (19.6m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
137 MB
flaky-tests-report Expired
4.34 KB