Background image: add support for relative theme path URLs in top-level theme.json styles #103775
unit-test.yml
on: pull_request
Compute previous WordPress version
2s
Build JavaScript assets for PHP unit tests
4m 58s
PHP coding standards
26s
Mobile
4m 1s
Matrix: unit-js-date
Matrix: unit-js
Matrix: test-php
PHP
0s
Annotations
7 errors and 14 warnings
PHP coding standards
Process completed with exit code 2.
|
PHP coding standards
Process completed with exit code 1.
|
JavaScript (Node.js 21) 1/4:
packages/edit-site/src/hooks/use-theme-style-variations/test/use-theme-style-variations-by-property.js#L32
Error: expect(jest.fn()).not.toHaveLogged(expected)
Expected mock function not to be called but it was called with:
["mergeBaseAndUserConfigs", {"settings": {"color": {"palette": {"custom": [{"color": "#c42727", "name": "Color 1", "slug": "custom-color-1"}, {"color": "#3b0f0f", "name": "Color 2", "slug": "custom-color-2"}]}}, "layout": {"contentSize": "400px", "wideSize": "1137px"}, "typography": {"fontFamilies": {"custom": [{"fontFace": [{"fontFamily": "ADLaM Display", "fontStyle": "normal", "fontWeight": "400", "src": "adlam.woff2"}], "fontFamily": "ADLaM Display, system-ui", "name": "ADLaM Display", "slug": "adlam-display"}]}, "fontSizes": [{"name": "Base small", "size": "1px", "slug": "base-small"}, {"name": "Base medium", "size": "2px", "slug": "base-medium"}, {"name": "Base large", "size": "3px", "slug": "base-large"}]}}, "styles": {"blocks": {"core/group": {"typography": {"fontFamily": "var:preset|font-family|system-sans-serif"}}, "core/quote": {"color": {"background": "dolly", "text": "hello"}, "typography": {"fontSize": "111111px"}}}, "color": {"backgroundColor": "cheese", "color": "lettuce"}, "typography": {"fontSize": "12px", "lineHeight": "1.5"}}}, {"description": "Description 1", "settings": {"typography": {"fluid": true, "fontFamilies": {"theme": [{"fontFace": [{"fontFamily": "Inter san-serif", "fontStyle": "italic", "fontWeight": "400", "src": "inter-san-serif.woff2"}], "fontFamily": "Inter san-serif", "name": "Inter san-serif", "slug": "inter-san-serif"}]}, "fontSizes": [{"name": "Small", "size": "13px", "slug": "small"}, {"name": "Medium", "size": "20px", "slug": "medium"}, {"name": "Large", "size": "36px", "slug": "large"}]}}, "styles": {"blocks": {"core/quote": {"typography": {"fontSize": "20px"}}}, "typography": {"letterSpacing": "3px"}}, "title": "Title 1"}]
console.log() 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 processTicksAndRejections (node:internal/process/task_queues:95: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 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 21) 1/4
Process completed with exit code 1.
|
JavaScript (Node.js 20) 1/4:
packages/edit-site/src/hooks/use-theme-style-variations/test/use-theme-style-variations-by-property.js#L32
Error: expect(jest.fn()).not.toHaveLogged(expected)
Expected mock function not to be called but it was called with:
["mergeBaseAndUserConfigs", {"settings": {"color": {"palette": {"custom": [{"color": "#c42727", "name": "Color 1", "slug": "custom-color-1"}, {"color": "#3b0f0f", "name": "Color 2", "slug": "custom-color-2"}]}}, "layout": {"contentSize": "400px", "wideSize": "1137px"}, "typography": {"fontFamilies": {"custom": [{"fontFace": [{"fontFamily": "ADLaM Display", "fontStyle": "normal", "fontWeight": "400", "src": "adlam.woff2"}], "fontFamily": "ADLaM Display, system-ui", "name": "ADLaM Display", "slug": "adlam-display"}]}, "fontSizes": [{"name": "Base small", "size": "1px", "slug": "base-small"}, {"name": "Base medium", "size": "2px", "slug": "base-medium"}, {"name": "Base large", "size": "3px", "slug": "base-large"}]}}, "styles": {"blocks": {"core/group": {"typography": {"fontFamily": "var:preset|font-family|system-sans-serif"}}, "core/quote": {"color": {"background": "dolly", "text": "hello"}, "typography": {"fontSize": "111111px"}}}, "color": {"backgroundColor": "cheese", "color": "lettuce"}, "typography": {"fontSize": "12px", "lineHeight": "1.5"}}}, {"description": "Description 1", "settings": {"typography": {"fluid": true, "fontFamilies": {"theme": [{"fontFace": [{"fontFamily": "Inter san-serif", "fontStyle": "italic", "fontWeight": "400", "src": "inter-san-serif.woff2"}], "fontFamily": "Inter san-serif", "name": "Inter san-serif", "slug": "inter-san-serif"}]}, "fontSizes": [{"name": "Small", "size": "13px", "slug": "small"}, {"name": "Medium", "size": "20px", "slug": "medium"}, {"name": "Large", "size": "36px", "slug": "large"}]}}, "styles": {"blocks": {"core/quote": {"typography": {"fontSize": "20px"}}}, "typography": {"letterSpacing": "3px"}}, "title": "Title 1"}]
console.log() 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 processTicksAndRejections (node:internal/process/task_queues:95: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 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) 1/4
Process completed with exit code 1.
|
PHP
Process completed with exit code 1.
|
PHP coding standards:
lib/class-wp-rest-global-styles-controller-gutenberg.php#L632
Equals sign not aligned with surrounding assignments; expected 18 spaces but found 1 space
|
PHP coding standards:
lib/class-wp-rest-global-styles-controller-gutenberg.php#L633
Equals sign not aligned with surrounding assignments; expected 21 spaces but found 4 spaces
|
PHP coding standards:
lib/class-wp-rest-global-styles-controller-gutenberg.php#L634
Equals sign not aligned with surrounding assignments; expected 21 spaces but found 4 spaces
|
PHP coding standards:
lib/class-wp-rest-global-styles-controller-gutenberg.php#L636
Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
|
JavaScript Date Tests (Node.js 21)
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript Date Tests (Node.js 20)
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 21) 4/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 21) 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 21) 1/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 21) 3/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 20) 2/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
Expired
|
9.55 MB |
|