Skip to content

Columns: Remove empty html render for columns block #120291

Columns: Remove empty html render for columns block

Columns: Remove empty html render for columns block #120291

Triggered via pull request November 26, 2024 07:26
Status Failure
Total duration 8m 20s
Artifacts 1

unit-test.yml

on: pull_request
Compute previous WordPress version
3s
Compute previous WordPress version
Build JavaScript assets for PHP unit tests
4m 38s
Build JavaScript assets for PHP unit tests
PHP coding standards
16s
PHP coding standards
Matrix: unit-js-date
Matrix: unit-js
Matrix: test-php
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
JavaScript (Node.js 20) 3/4: test/integration/full-content/full-content.test.js#L184
Error: File 'core__columns__is-not-stacked-on-mobile.json' does not match expected value: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Array [ Object { "attributes": Object { "backgroundColor": "secondary", + "isEmptyColumn": false, "isStackedOnMobile": false, }, "innerBlocks": Array [ Object { "attributes": Object {}, at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/test/integration/full-content/full-content.test.js:184: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 processTicksAndRejections (node:internal/process/task_queues:95: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 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 (Node.js 20) 3/4: test/integration/full-content/full-content.test.js#L184
Error: File 'core__comments.json' does not match expected value: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -19,10 +19,11 @@ Object { "attributes": Object {}, "innerBlocks": Array [ Object { "attributes": Object { + "isEmptyColumn": false, "isStackedOnMobile": true, }, "innerBlocks": Array [ Object { "attributes": Object { at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/test/integration/full-content/full-content.test.js:184: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 processTicksAndRejections (node:internal/process/task_queues:95: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 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 (Node.js 20) 3/4: test/integration/full-content/full-content.test.js#L184
Error: File 'core__comments__deprecated-1.json' does not match expected value: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -19,10 +19,11 @@ Object { "attributes": Object {}, "innerBlocks": Array [ Object { "attributes": Object { + "isEmptyColumn": false, "isStackedOnMobile": true, }, "innerBlocks": Array [ Object { "attributes": Object { at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/test/integration/full-content/full-content.test.js:184: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 processTicksAndRejections (node:internal/process/task_queues:95: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 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 (Node.js 20) 3/4
Process completed with exit code 1.
JavaScript (Node.js 22) 3/4: test/integration/full-content/full-content.test.js#L184
Error: File 'core__columns__is-not-stacked-on-mobile.json' does not match expected value: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Array [ Object { "attributes": Object { "backgroundColor": "secondary", + "isEmptyColumn": false, "isStackedOnMobile": false, }, "innerBlocks": Array [ Object { "attributes": Object {}, at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/test/integration/full-content/full-content.test.js:184: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 processTicksAndRejections (node:internal/process/task_queues:105: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 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 (Node.js 22) 3/4: test/integration/full-content/full-content.test.js#L184
Error: File 'core__comments.json' does not match expected value: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -19,10 +19,11 @@ Object { "attributes": Object {}, "innerBlocks": Array [ Object { "attributes": Object { + "isEmptyColumn": false, "isStackedOnMobile": true, }, "innerBlocks": Array [ Object { "attributes": Object { at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/test/integration/full-content/full-content.test.js:184: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 processTicksAndRejections (node:internal/process/task_queues:105: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 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 (Node.js 22) 3/4: test/integration/full-content/full-content.test.js#L184
Error: File 'core__comments__deprecated-1.json' does not match expected value: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -19,10 +19,11 @@ Object { "attributes": Object {}, "innerBlocks": Array [ Object { "attributes": Object { + "isEmptyColumn": false, "isStackedOnMobile": true, }, "innerBlocks": Array [ Object { "attributes": Object { at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/test/integration/full-content/full-content.test.js:184: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 processTicksAndRejections (node:internal/process/task_queues:105: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 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 (Node.js 22) 3/4
Process completed with exit code 1.
JavaScript (Node.js 22) 4/4: packages/components/src/alignment-matrix-control/test/index.tsx#L115
Error: expect(element).toHaveFocus() Expected element with focus: <span class="css-17mjk8t-Cell e1r95csn1" id="alignment-matrix-control-11-top-center" role="gridcell" tabindex="-1"><div class="components-visually-hidden css-161q9d5-PolymorphicDiv e19lxcc00" data-wp-c16t="true" data-wp-component="VisuallyHidden" style="border: 0px; clip: rect(1px, 1px, 1px, 1px); clip-path: inset( 50% ); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; word-wrap: normal;">top center</div><span class="css-1jz015p-Point e1r95csn0" role="presentation" /></span> Received element with focus: <span aria-describedby="tooltip-99" class="css-17mjk8t-Cell e1r95csn1" data-active-item="true" data-focus-visible="true" id="alignment-matrix-control-11-top-left" role="gridcell" tabindex="0"><div class="components-visually-hidden css-161q9d5-PolymorphicDiv e19lxcc00" data-wp-c16t="true" data-wp-component="VisuallyHidden" style="border: 0px; clip: rect(1px, 1px, 1px, 1px); clip-path: inset( 50% ); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; word-wrap: normal;">top left</div><span class="css-1jz015p-Point e1r95csn0" role="presentation" /></span> at toHaveFocus (/home/runner/work/gutenberg/gutenberg/packages/components/src/alignment-matrix-control/test/index.tsx:115:35)
JavaScript (Node.js 22) 4/4
Process completed with exit code 1.
JavaScript Date Tests (Node.js 20)
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript Date Tests (Node.js 22)
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 20) 3/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 22) 3/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 20) 2/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 20) 4/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 22) 4/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 22) 2/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 20) 1/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 22) 1/4
Both node-version and node-version-file inputs are specified, only node-version will be used

Artifacts

Produced during runtime
Name Size
build-assets
14 MB