Writing flow: Fix focus loss on toolbar return when last focus element isn't found #84210
Annotations
10 errors
packages/e2e-tests/specs/widgets/editing-widgets.test.js#L48
QueryEmptyError: Unable to find any nodes within 3000ms.
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/widgets/editing-widgets.test.js:48:16)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/widgets/editing-widgets.test.js#L10
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["TypeError: n is not iterable
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=124eadcf01bcb877523b:10:103037
at Object.useMemo (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:115217)
at e.useMemo (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react.min.js?ver=18:1:9875)
at Nm (http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=124eadcf01bcb877523b:10:102977)
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)"]
console.error() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
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)
|
packages/e2e-tests/specs/widgets/editing-widgets.test.js#L48
QueryEmptyError: Unable to find any nodes within 3000ms.
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/widgets/editing-widgets.test.js:48:16)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/widgets/editing-widgets.test.js#L10
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["TypeError: n is not iterable
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=124eadcf01bcb877523b:10:103037
at Object.useMemo (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:115217)
at e.useMemo (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react.min.js?ver=18:1:9875)
at Nm (http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=124eadcf01bcb877523b:10:102977)
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)"]
console.error() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
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 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)
|
packages/e2e-tests/specs/widgets/editing-widgets.test.js#L48
QueryEmptyError: Unable to find any nodes within 3000ms.
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/widgets/editing-widgets.test.js:48:16)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/widgets/editing-widgets.test.js#L10
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["TypeError: n is not iterable
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=124eadcf01bcb877523b:10:103037
at Object.useMemo (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:115217)
at e.useMemo (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react.min.js?ver=18:1:9875)
at Nm (http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=124eadcf01bcb877523b:10:102977)
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)"]
console.error() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
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)
|
packages/e2e-tests/specs/widgets/editing-widgets.test.js#L48
QueryEmptyError: Unable to find any nodes within 3000ms.
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/widgets/editing-widgets.test.js:48:16)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
packages/e2e-tests/specs/widgets/editing-widgets.test.js#L10
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["TypeError: n is not iterable
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=124eadcf01bcb877523b:10:103037
at Object.useMemo (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:115217)
at e.useMemo (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react.min.js?ver=18:1:9875)
at Nm (http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=124eadcf01bcb877523b:10:102977)
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)"]
console.error() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
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)
|
packages/e2e-tests/specs/editor/various/change-detection.test.js#L10
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["TypeError: n is not iterable
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=124eadcf01bcb877523b:10:103037
at Object.useMemo (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:115217)
at e.useMemo (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react.min.js?ver=18:1:9875)
at Nm (http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=124eadcf01bcb877523b:10:102977)
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)"],["TypeError: n is not iterable
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=124eadcf01bcb877523b:10:103037
at Object.useMemo (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:115217)
at e.useMemo (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react.min.js?ver=18:1:9875)
at Nm (http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=124eadcf01bcb877523b:10:102977)
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)"]
console.error() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
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
|
packages/e2e-tests/specs/editor/various/change-detection.test.js#L23
Error: No node found for selector: .editor-post-title__input
at assert (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/assert.ts:23:21)
at DOMWorld.type (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:500: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/change-detection.test.js:82:3)
|
The logs for this run have expired and are no longer available.
Loading