Skip to content

Bump the wordpress-packages group with 29 updates #1674

Bump the wordpress-packages group with 29 updates

Bump the wordpress-packages group with 29 updates #1674

Triggered via pull request September 2, 2024 00:58
Status Failure
Total duration 9m 58s
Artifacts 1

build-test-measure.yml

on: pull_request
Pre run
4s
Pre run
Matrix: build-zip
Lint: CSS
53s
Lint: CSS
Lint: JS
1m 0s
Lint: JS
Lint: PHP
0s
Lint: PHP
Static Analysis: PHP
0s
Static Analysis: PHP
Unit test: JS
55s
Unit test: JS
Matrix: E2E test: JS
Matrix: feature-test-php
Matrix: unit-test-php
Upload plugin ZIPs to Google Cloud Storage
0s
Upload plugin ZIPs to Google Cloud Storage
Comment on PR with links to plugin ZIPs
0s
Comment on PR with links to plugin ZIPs
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 2 notices
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: 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
Process completed with exit code 1.
E2E test: JS (1, 2): tests/e2e/specs/admin/site-scan-panel.js#L813
TimeoutError: waiting for selector `div[data-slug="twentytwenty"].active` failed: timeout 60000ms exceeded at new WaitTask (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForSelectorInPage (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22) at Object.internalHandler.waitFor (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19) at DOMWorld.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25) at Frame.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47) at Page.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/Page.ts:3222:29) at waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-theme.js:31:13) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/admin/site-scan-panel.js:194:4)
E2E test: JS (1, 2): tests/e2e/specs/block-editor/amp-preview-button.js#L813
TimeoutError: waiting for selector `.components-button.edit-post-header__post-preview-button` failed: timeout 60000ms exceeded at new WaitTask (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForSelectorInPage (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22) at Object.internalHandler.waitFor (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19) at DOMWorld.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25) at Frame.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47) at Page.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/Page.ts:3222:29) at Object.waitForSelector (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/block-editor/amp-preview-button.js:35:14) at processTicksAndRejections (node:internal/process/task_queues:95:5)
E2E test: JS (1, 2): tests/e2e/specs/block-editor/featured-image-notice.js#L813
TimeoutError: waiting for XPath `//button[contains(text(), 'Set featured image')]` failed: timeout 60000ms exceeded at new WaitTask (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForXPath (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22) at Frame.waitForXPath (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47) at Page.waitForXPath (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/Page.ts:3281:29) at waitForXPath (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/click-button.js:9:28) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/block-editor/featured-image-notice.js:24:20) at processTicksAndRejections (node:internal/process/task_queues:95:5)
E2E test: JS (1, 2): tests/e2e/specs/block-editor/featured-image-notice.js#L813
TimeoutError: waiting for XPath `//button[contains(text(), 'Set featured image')]` failed: timeout 60000ms exceeded at new WaitTask (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForXPath (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22) at Frame.waitForXPath (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47) at Page.waitForXPath (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/Page.ts:3281:29) at waitForXPath (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/click-button.js:9:28) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/block-editor/featured-image-notice.js:24:20) at processTicksAndRejections (node:internal/process/task_queues:95:5)
E2E test: JS (1, 2)
Process completed with exit code 1.
E2E test: JS (2, 2)
Using Chromium from /home/runner/.cache/puppeteer/chrome/linux-126.0.6478.126/chrome-linux64/chrome
E2E test: JS (1, 2)
Using Chromium from /home/runner/.cache/puppeteer/chrome/linux-126.0.6478.126/chrome-linux64/chrome

Artifacts

Produced during runtime
Name Size
e2e-failure-artifacts Expired
319 KB