Skip to content

Bump the wordpress-packages group across 1 directory with 29 updates #11713

Bump the wordpress-packages group across 1 directory with 29 updates

Bump the wordpress-packages group across 1 directory with 29 updates #11713

Triggered via pull request November 7, 2024 17:24
Status Failure
Total duration 2m 51s
Artifacts

build-test-measure.yml

on: pull_request
Pre run
3s
Pre run
Matrix: E2E test: JS
Matrix: feature-test-php
Matrix: unit-test-php
Fit to window
Zoom out
Zoom in

Annotations

14 errors
Lint: JS: assets/src/block-editor/blocks/amp-mathml/index.js#L20
Translations should not contain flanking whitespace (whitespace)
Lint: JS: assets/src/components/amp-support/index.js#L202
Translations should not contain flanking whitespace (whitespace)
Lint: JS: assets/src/settings-page/paired-url-structure.js#L223
Translations should not contain flanking whitespace (whitespace)
Lint: JS
Process completed with exit code 1.
Unit test: JS: assets/src/components/redirect-toggle/test/redirect-toggle.js#L32
Error: expect(jest.fn()).not.toHaveWarned(expected) Expected mock function not to be called but it was called with: ["Bottom margin styles for wp.components.ToggleControl is deprecated since version 6.7 and will be removed in version 7.0. Note: Set the `__nextHasNoMarginBottom` prop to true to start opting into the new styles, which will become the default in a future version."] console.warn() should not be used unless explicitly expected See https://www.npmjs.com/package/@wordpress/jest-console for details. at Object.assertExpectedCalls (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/jest-console/build/@wordpress/jest-console/src/index.js:32:40) at Promise.then.completed (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/utils.js:231:10) at _callCircusHook (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:281:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:254:5) at _runTestsForDescribeBlock (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/testWorker.js:106:12)
Unit test: JS: assets/src/components/redirect-toggle/test/redirect-toggle.js#L23
Error: expect(received).toMatchSnapshot() Snapshot name: `RedirectToggle matches snapshot 1` - Snapshot - 1 + Received + 1 @@ -6,11 +6,11 @@ > <div className="components-base-control__field css-yj91it-StyledField ej5x27r3" > <div - className="components-flex components-h-stack css-1tus1dj-PolymorphicDiv-Flex-base-ItemsRow e19lxcc00" + className="components-flex components-h-stack css-x0iqvu-PolymorphicDiv-Flex-base-ItemsRow e19lxcc00" data-wp-c16t={true} data-wp-component="HStack" > <span className="components-form-toggle is-checked" at Object.toMatchSnapshot (/home/runner/work/amp-wp/amp-wp/assets/src/components/redirect-toggle/test/redirect-toggle.js:23:28) at Promise.then.completed (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/testWorker.js:106:12)
Unit test: JS: assets/src/components/amp-setting-toggle/test/index.js#L32
Error: expect(jest.fn()).not.toHaveWarned(expected) Expected mock function not to be called but it was called with: ["Bottom margin styles for wp.components.ToggleControl is deprecated since version 6.7 and will be removed in version 7.0. Note: Set the `__nextHasNoMarginBottom` prop to true to start opting into the new styles, which will become the default in a future version."] console.warn() should not be used unless explicitly expected See https://www.npmjs.com/package/@wordpress/jest-console for details. at Object.assertExpectedCalls (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/jest-console/build/@wordpress/jest-console/src/index.js:32:40) at Promise.then.completed (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/utils.js:231:10) at _callCircusHook (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:281:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:254:5) at _runTestsForDescribeBlock (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/testWorker.js:106:12)
Unit test: JS: assets/src/components/amp-setting-toggle/test/index.js#L23
Error: expect(received).toMatchSnapshot() Snapshot name: `AMPSettingToggle matches snapshots 1` - Snapshot - 1 + Received + 1 @@ -6,11 +6,11 @@ > <div className="components-base-control__field css-yj91it-StyledField ej5x27r3" > <div - className="components-flex components-h-stack css-1tus1dj-PolymorphicDiv-Flex-base-ItemsRow e19lxcc00" + className="components-flex components-h-stack css-x0iqvu-PolymorphicDiv-Flex-base-ItemsRow e19lxcc00" data-wp-c16t={true} data-wp-component="HStack" > <span className="components-form-toggle is-checked" at Object.toMatchSnapshot (/home/runner/work/amp-wp/amp-wp/assets/src/components/amp-setting-toggle/test/index.js:23:28) at Promise.then.completed (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/testWorker.js:106:12)
Unit test: JS: assets/src/components/amp-setting-toggle/test/index.js#L32
Error: expect(received).toMatchSnapshot() Snapshot name: `AMPSettingToggle matches snapshots 2` - Snapshot - 1 + Received + 1 @@ -6,11 +6,11 @@ > <div className="components-base-control__field css-yj91it-StyledField ej5x27r3" > <div - className="components-flex components-h-stack css-1tus1dj-PolymorphicDiv-Flex-base-ItemsRow e19lxcc00" + className="components-flex components-h-stack css-x0iqvu-PolymorphicDiv-Flex-base-ItemsRow e19lxcc00" data-wp-c16t={true} data-wp-component="HStack" > <span className="components-form-toggle" at Object.toMatchSnapshot (/home/runner/work/amp-wp/amp-wp/assets/src/components/amp-setting-toggle/test/index.js:32:28) at Promise.then.completed (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/testWorker.js:106:12)
Unit test: JS: assets/src/components/dev-tools-toggle/test/index.js#L32
Error: expect(jest.fn()).not.toHaveWarned(expected) Expected mock function not to be called but it was called with: ["Bottom margin styles for wp.components.ToggleControl is deprecated since version 6.7 and will be removed in version 7.0. Note: Set the `__nextHasNoMarginBottom` prop to true to start opting into the new styles, which will become the default in a future version."] console.warn() should not be used unless explicitly expected See https://www.npmjs.com/package/@wordpress/jest-console for details. at Object.assertExpectedCalls (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/jest-console/build/@wordpress/jest-console/src/index.js:32:40) at Promise.then.completed (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/utils.js:231:10) at _callCircusHook (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:281:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:254:5) at _runTestsForDescribeBlock (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/testWorker.js:106:12)
Unit test: JS: assets/src/components/dev-tools-toggle/test/index.js#L23
Error: expect(received).toMatchSnapshot() Snapshot name: `DevToolsToggle matches snapshot 1` - Snapshot - 1 + Received + 1 @@ -6,11 +6,11 @@ > <div className="components-base-control__field css-yj91it-StyledField ej5x27r3" > <div - className="components-flex components-h-stack css-1tus1dj-PolymorphicDiv-Flex-base-ItemsRow e19lxcc00" + className="components-flex components-h-stack css-x0iqvu-PolymorphicDiv-Flex-base-ItemsRow e19lxcc00" data-wp-c16t={true} data-wp-component="HStack" > <span className="components-form-toggle" at Object.toMatchSnapshot (/home/runner/work/amp-wp/amp-wp/assets/src/components/dev-tools-toggle/test/index.js:23:28) at Promise.then.completed (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/amp-wp/amp-wp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/amp-wp/amp-wp/node_modules/jest-runner/build/testWorker.js:106:12)
Unit test: JS
Process completed with exit code 1.
E2E test: JS (2, 2)
Process completed with exit code 1.
E2E test: JS (1, 2)
Process completed with exit code 1.