Writing flow: Fix focus loss on toolbar return when last focus element isn't found #84349
Triggered via pull request
September 19, 2023 17:02
Status
Failure
Total duration
10m 31s
Artifacts
–
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
unit-test.yml
on: pull_request
Compute previous WordPress version
2s
PHP coding standards
22s
Mobile
7m 31s
Matrix: JavaScript
Matrix: test-php
PHP
0s
Annotations
10 errors and 1 warning
JavaScript (16):
packages/block-library/src/cover/test/edit.js#L70
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
[[Error: Uncaught [TypeError: overrides is not iterable]]],[[Error: Uncaught [TypeError: overrides is not iterable]]],["The above error occurred in the <EditorStyles> component:·
at styles (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/editor-styles/index.js:70:41)
at shouldIframe (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/block-canvas/index.js:18:2)
at div
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/block-tools/index.js:44:2)
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/block-refs-provider.js:11:38)
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/slot-fill/bubbles-virtually/slot-fill-provider.js:88:45)
at SlotFillProvider (/home/runner/work/gutenberg/gutenberg/packages/components/src/slot-fill/provider.js:14:3)
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/slot-fill/index.js:38:29)
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/index.js:22:11)
at useSubRegistry (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/with-registry-provider.js:21:8)
at WithRegistryProvider(Component)
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/index.js:62:12)
at testBlocks (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/integration-test-editor.js:60:27)·
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries."]
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/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:125:9)
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)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
JavaScript (16):
packages/block-library/src/cover/test/edit.js#L78
TypeError: overrides is not iterable
at overrides (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/editor-styles/index.js:78:35)
at mountMemo (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:17225:19)
at Object.useMemo (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:17670:16)
at useMemo (/home/runner/work/gutenberg/gutenberg/node_modules/react/cjs/react.development.js:1650:21)
at EditorStyles (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/editor-styles/index.js:75:56)
at renderWithHooks (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork$1 (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at recoverFromConcurrentError (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
at performConcurrentWorkOnRoot (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
at flushActQueue (/home/runner/work/gutenberg/gutenberg/node_modules/react/cjs/react.development.js:2667:24)
at act (/home/runner/work/gutenberg/gutenberg/node_modules/react/cjs/react.development.js:2582:11)
at /home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist/act-compat.js:46:25
at renderRoot (/home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist/pure.js:161:26)
at render (/home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist/pure.js:247:10)
at /home/runner/work/gutenberg/gutenberg/test/integration/helpers/integration-test-editor.js:110:16
at fn (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/wait-for-store-resolvers.js:25:18)
at fn (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/with-fake-timers.js:21:23)
at waitForStoreResolvers (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/wait-for-store-resolvers.js:24:23)
at initializeEditor (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/integration-test-editor.js:109:30)
at setup (/home/runner/work/gutenberg/gutenberg/packages/block-library/src/cover/test/edit.js:45:25)
at Object.setup (/home/runner/work/gutenberg/gutenberg/packages/block-library/src/cover/test/edit.js:74:32)
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 _callCircusTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:315: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:251:3)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
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
|
JavaScript (16):
packages/block-library/src/cover/test/edit.js#L70
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
[[Error: Uncaught [TypeError: overrides is not iterable]]],[[Error: Uncaught [TypeError: overrides is not iterable]]],["The above error occurred in the <EditorStyles> component:·
at styles (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/editor-styles/index.js:70:41)
at shouldIframe (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/block-canvas/index.js:18:2)
at div
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/block-tools/index.js:44:2)
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/block-refs-provider.js:11:38)
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/slot-fill/bubbles-virtually/slot-fill-provider.js:88:45)
at SlotFillProvider (/home/runner/work/gutenberg/gutenberg/packages/components/src/slot-fill/provider.js:14:3)
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/slot-fill/index.js:38:29)
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/index.js:22:11)
at useSubRegistry (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/with-registry-provider.js:21:8)
at WithRegistryProvider(Component)
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/index.js:62:12)
at testBlocks (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/integration-test-editor.js:60:27)·
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries."]
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/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:125:9)
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)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
JavaScript (16):
packages/block-library/src/cover/test/edit.js#L78
TypeError: overrides is not iterable
at overrides (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/editor-styles/index.js:78:35)
at mountMemo (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:17225:19)
at Object.useMemo (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:17670:16)
at useMemo (/home/runner/work/gutenberg/gutenberg/node_modules/react/cjs/react.development.js:1650:21)
at EditorStyles (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/editor-styles/index.js:75:56)
at renderWithHooks (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork$1 (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at recoverFromConcurrentError (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
at performConcurrentWorkOnRoot (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
at flushActQueue (/home/runner/work/gutenberg/gutenberg/node_modules/react/cjs/react.development.js:2667:24)
at act (/home/runner/work/gutenberg/gutenberg/node_modules/react/cjs/react.development.js:2582:11)
at /home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist/act-compat.js:46:25
at renderRoot (/home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist/pure.js:161:26)
at render (/home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist/pure.js:247:10)
at /home/runner/work/gutenberg/gutenberg/test/integration/helpers/integration-test-editor.js:110:16
at fn (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/wait-for-store-resolvers.js:25:18)
at fn (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/with-fake-timers.js:21:23)
at waitForStoreResolvers (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/wait-for-store-resolvers.js:24:23)
at initializeEditor (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/integration-test-editor.js:109:30)
at setup (/home/runner/work/gutenberg/gutenberg/packages/block-library/src/cover/test/edit.js:45:25)
at Object.setup (/home/runner/work/gutenberg/gutenberg/packages/block-library/src/cover/test/edit.js:96:10)
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 _callCircusTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:315: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:251:3)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
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
|
JavaScript (16):
packages/block-library/src/cover/test/edit.js#L70
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
[[Error: Uncaught [TypeError: overrides is not iterable]]],[[Error: Uncaught [TypeError: overrides is not iterable]]],["The above error occurred in the <EditorStyles> component:·
at styles (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/editor-styles/index.js:70:41)
at shouldIframe (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/block-canvas/index.js:18:2)
at div
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/block-tools/index.js:44:2)
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/block-refs-provider.js:11:38)
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/slot-fill/bubbles-virtually/slot-fill-provider.js:88:45)
at SlotFillProvider (/home/runner/work/gutenberg/gutenberg/packages/components/src/slot-fill/provider.js:14:3)
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/slot-fill/index.js:38:29)
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/index.js:22:11)
at useSubRegistry (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/with-registry-provider.js:21:8)
at WithRegistryProvider(Component)
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/index.js:62:12)
at testBlocks (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/integration-test-editor.js:60:27)·
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries."]
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/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:125:9)
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)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
JavaScript (16):
packages/block-library/src/cover/test/edit.js#L78
TypeError: overrides is not iterable
at overrides (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/editor-styles/index.js:78:35)
at mountMemo (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:17225:19)
at Object.useMemo (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:17670:16)
at useMemo (/home/runner/work/gutenberg/gutenberg/node_modules/react/cjs/react.development.js:1650:21)
at EditorStyles (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/editor-styles/index.js:75:56)
at renderWithHooks (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork$1 (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at recoverFromConcurrentError (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
at performConcurrentWorkOnRoot (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
at flushActQueue (/home/runner/work/gutenberg/gutenberg/node_modules/react/cjs/react.development.js:2667:24)
at act (/home/runner/work/gutenberg/gutenberg/node_modules/react/cjs/react.development.js:2582:11)
at /home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist/act-compat.js:46:25
at renderRoot (/home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist/pure.js:161:26)
at render (/home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist/pure.js:247:10)
at /home/runner/work/gutenberg/gutenberg/test/integration/helpers/integration-test-editor.js:110:16
at fn (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/wait-for-store-resolvers.js:25:18)
at fn (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/with-fake-timers.js:21:23)
at waitForStoreResolvers (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/wait-for-store-resolvers.js:24:23)
at initializeEditor (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/integration-test-editor.js:109:30)
at setup (/home/runner/work/gutenberg/gutenberg/packages/block-library/src/cover/test/edit.js:45:25)
at Object.setup (/home/runner/work/gutenberg/gutenberg/packages/block-library/src/cover/test/edit.js:115:10)
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 _callCircusTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:315: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:251:3)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
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/jes
|
JavaScript (16):
packages/block-library/src/cover/test/edit.js#L70
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
[[Error: Uncaught [TypeError: overrides is not iterable]]],[[Error: Uncaught [TypeError: overrides is not iterable]]],["The above error occurred in the <EditorStyles> component:·
at styles (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/editor-styles/index.js:70:41)
at shouldIframe (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/block-canvas/index.js:18:2)
at div
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/block-tools/index.js:44:2)
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/block-refs-provider.js:11:38)
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/slot-fill/bubbles-virtually/slot-fill-provider.js:88:45)
at SlotFillProvider (/home/runner/work/gutenberg/gutenberg/packages/components/src/slot-fill/provider.js:14:3)
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/slot-fill/index.js:38:29)
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/index.js:22:11)
at useSubRegistry (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/with-registry-provider.js:21:8)
at WithRegistryProvider(Component)
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/index.js:62:12)
at testBlocks (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/integration-test-editor.js:60:27)·
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries."]
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/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:125:9)
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)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
JavaScript (16):
packages/block-library/src/cover/test/edit.js#L78
TypeError: overrides is not iterable
at overrides (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/editor-styles/index.js:78:35)
at mountMemo (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:17225:19)
at Object.useMemo (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:17670:16)
at useMemo (/home/runner/work/gutenberg/gutenberg/node_modules/react/cjs/react.development.js:1650:21)
at EditorStyles (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/editor-styles/index.js:75:56)
at renderWithHooks (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork$1 (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at recoverFromConcurrentError (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
at performConcurrentWorkOnRoot (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
at flushActQueue (/home/runner/work/gutenberg/gutenberg/node_modules/react/cjs/react.development.js:2667:24)
at act (/home/runner/work/gutenberg/gutenberg/node_modules/react/cjs/react.development.js:2582:11)
at /home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist/act-compat.js:46:25
at renderRoot (/home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist/pure.js:161:26)
at render (/home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist/pure.js:247:10)
at /home/runner/work/gutenberg/gutenberg/test/integration/helpers/integration-test-editor.js:110:16
at fn (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/wait-for-store-resolvers.js:25:18)
at fn (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/with-fake-timers.js:21:23)
at waitForStoreResolvers (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/wait-for-store-resolvers.js:24:23)
at initializeEditor (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/integration-test-editor.js:109:30)
at setup (/home/runner/work/gutenberg/gutenberg/packages/block-library/src/cover/test/edit.js:45:25)
at Object.setup (/home/runner/work/gutenberg/gutenberg/packages/block-library/src/cover/test/edit.js:132:10)
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 _callCircusTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:315: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:251:3)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
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/jes
|
JavaScript (16):
packages/block-library/src/cover/test/edit.js#L70
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
[[Error: Uncaught [TypeError: overrides is not iterable]]],[[Error: Uncaught [TypeError: overrides is not iterable]]],["The above error occurred in the <EditorStyles> component:·
at styles (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/editor-styles/index.js:70:41)
at shouldIframe (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/block-canvas/index.js:18:2)
at div
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/block-tools/index.js:44:2)
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/block-refs-provider.js:11:38)
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/slot-fill/bubbles-virtually/slot-fill-provider.js:88:45)
at SlotFillProvider (/home/runner/work/gutenberg/gutenberg/packages/components/src/slot-fill/provider.js:14:3)
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/slot-fill/index.js:38:29)
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/index.js:22:11)
at useSubRegistry (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/with-registry-provider.js:21:8)
at WithRegistryProvider(Component)
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/index.js:62:12)
at testBlocks (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/integration-test-editor.js:60:27)·
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries."]
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/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:125:9)
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)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
JavaScript (16):
packages/block-library/src/cover/test/edit.js#L78
TypeError: overrides is not iterable
at overrides (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/editor-styles/index.js:78:35)
at mountMemo (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:17225:19)
at Object.useMemo (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:17670:16)
at useMemo (/home/runner/work/gutenberg/gutenberg/node_modules/react/cjs/react.development.js:1650:21)
at EditorStyles (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/editor-styles/index.js:75:56)
at renderWithHooks (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork$1 (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at recoverFromConcurrentError (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
at performConcurrentWorkOnRoot (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
at flushActQueue (/home/runner/work/gutenberg/gutenberg/node_modules/react/cjs/react.development.js:2667:24)
at act (/home/runner/work/gutenberg/gutenberg/node_modules/react/cjs/react.development.js:2582:11)
at /home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist/act-compat.js:46:25
at renderRoot (/home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist/pure.js:161:26)
at render (/home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist/pure.js:247:10)
at /home/runner/work/gutenberg/gutenberg/test/integration/helpers/integration-test-editor.js:110:16
at fn (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/wait-for-store-resolvers.js:25:18)
at fn (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/with-fake-timers.js:21:23)
at waitForStoreResolvers (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/wait-for-store-resolvers.js:24:23)
at initializeEditor (/home/runner/work/gutenberg/gutenberg/test/integration/helpers/integration-test-editor.js:109:30)
at setup (/home/runner/work/gutenberg/gutenberg/packages/block-library/src/cover/test/edit.js:45:25)
at Object.setup (/home/runner/work/gutenberg/gutenberg/packages/block-library/src/cover/test/edit.js:163:11)
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 _callCircusTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:315: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:251:3)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
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 _runTestsForDescribeBlock (/home/runner/work/gutenberg/gute
|
JavaScript (16)
Both node-version and node-version-file inputs are specified, only node-version will be used
|