Issue 4811 - DC for background image #6069
Annotations
4 errors and 2 warnings
e2e-js:
e2e-tests/components/background/imageLayer.spec.js#L341
Error: expect(received).toMatchSnapshot()
Snapshot name: `BackgroundControl Check Background image layer hover 1`
- Snapshot - 0
+ Received + 1
@@ -80,10 +80,11 @@
"background-image-wrapper-width-unit-m": "vw",
"background-image-wrapper-width-unit-xl": "px",
"background-image-wrapper-width-unit-xs": "em",
"background-image-wrapper-width-xl": 50,
"background-image-wrapper-width-xs": 25,
+ "dc-author": 1,
"display-general": "block",
"id": 1,
"isHover": false,
"order": 1,
"type": "image",
at toMatchSnapshot (/home/runner/work/maxi-blocks/maxi-blocks/e2e-tests/components/background/imageLayer.spec.js:341:44)
at call (/home/runner/work/maxi-blocks/maxi-blocks/e2e-tests/components/background/imageLayer.spec.js:2:1)
at Generator.tryCatch (/home/runner/work/maxi-blocks/maxi-blocks/e2e-tests/components/background/imageLayer.spec.js:2:1)
at Generator._invoke [as next] (/home/runner/work/maxi-blocks/maxi-blocks/e2e-tests/components/background/imageLayer.spec.js:2:1)
at asyncGeneratorStep (/home/runner/work/maxi-blocks/maxi-blocks/e2e-tests/components/background/imageLayer.spec.js:2:1)
at asyncGeneratorStep (/home/runner/work/maxi-blocks/maxi-blocks/e2e-tests/components/background/imageLayer.spec.js:2:1)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
e2e-js:
e2e-tests/blocks/button-maxi/index.spec.js#L32
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Error processing CSS: JSHandle@error"],["Problematic code: body.maxi-blocks--active #button-maxi-1se8ef1z-u{justify-content:center;background: red}body.maxi-blocks--active #button-maxi-1se8ef1z-u .maxi-button-block__button{border-color:var(--maxi-light-button-border-color,rgba(var(--maxi-light-color-4,255,74,23),1));border-style:solid;border-top-width:2px;border-right-width:2px;border-bottom-width:2px;border-left-width:2px;border-top-left-radius:50px;border-top-right-radius:50px;border-bottom-right-radius:50px;border-bottom-left-radius:50px;text-align:center;padding-top:3px;padding-right:6px;padding-bottom:4px;padding-left:10px;transition:border 0.3s 0s ease, border-radius 0.3s 0s ease;background: red}body.maxi-blocks--active #button-maxi-1se8ef1z-u .maxi-button-block__content{color:var(--maxi-light-button-color,rgba(var(--maxi-light-color-4,255,74,23),1));transition:all 0.3s 0s ease;background: red}body.maxi-blocks--active #button-maxi-1se8ef1z-u .maxi-button-block__button .maxi-button-block__icon svg path{stroke-width:2;}body.maxi-blocks--active #button-maxi-1se8ef1z-u .maxi-button-block__button .maxi-button-block__icon svg[data-stroke]:not([stroke^=\"none\"]) *{stroke:var(--maxi-light-icon-stroke,rgba(var(--maxi-light-color-5,0,0,0),1));}body.maxi-blocks--active #button-maxi-1se8ef1z-u .maxi-button-block__button .maxi-button-block__icon svg path[data-stroke]:not([stroke^=\"none\"]){stroke:var(--maxi-light-icon-stroke,rgba(var(--maxi-light-color-5,0,0,0),1));}body.maxi-blocks--active #button-maxi-1se8ef1z-u .maxi-button-block__button .maxi-button-block__icon svg[data-stroke]:not([stroke^=\"none\"]){stroke:var(--maxi-light-icon-stroke,rgba(var(--maxi-light-color-5,0,0,0),1));}body.maxi-blocks--active #button-maxi-1se8ef1z-u .maxi-button-block__button .maxi-button-block__icon svg g[data-stroke]:not([stroke^=\"none\"]){stroke:var(--maxi-light-icon-stroke,rgba(var(--maxi-light-color-5,0,0,0),1));}body.maxi-blocks--active #button-maxi-1se8ef1z-u .maxi-button-block__button .maxi-button-block__icon svg use[data-stroke]:not([stroke^=\"none\"]){stroke:var(--maxi-light-icon-stroke,rgba(var(--maxi-light-color-5,0,0,0),1));}body.maxi-blocks--active #button-maxi-1se8ef1z-u .maxi-button-block__button .maxi-button-block__icon svg circle[data-stroke]:not([stroke^=\"none\"]){stroke:var(--maxi-light-icon-stroke,rgba(var(--maxi-light-color-5,0,0,0),1));}body.maxi-blocks--active #button-maxi-1se8ef1z-u .maxi-button-block__button .maxi-button-block__icon{padding-top:33px;padding-right:33px;padding-bottom:33px;padding-left:33px;border-color:rgba(var(--maxi-light-color-4,255,74,23),1);border-style:dashed;border-top-width:59px;border-right-width:59px;border-bottom-width:59px;border-left-width:59px;border-top-left-radius:26%;border-top-right-radius:26%;border-bottom-right-radius:26%;border-bottom-left-radius:26%;margin-top:20px;}body.maxi-blocks--active #button-maxi-1se8ef1z-u .maxi-button-block__button .maxi-button-block__icon svg{height:343px;width:343px;}body.maxi-blocks--active #button-maxi-1se8ef1z-u .maxi-button-block__button .maxi-button-block__icon svg > *{margin-top:20px;}body.maxi-blocks--active #button-maxi-1se8ef1z-u .maxi-button-block__button:hover .maxi-button-block__icon{border-color:rgba(var(--maxi-light-color-5,0,0,0),1);border-style:dotted;border-top-width:70px;border-right-width:70px;border-bottom-width:70px;border-left-width:70px;}body.maxi-blocks--active #button-maxi-1se8ef1z-u .maxi-button-block__button:hover .maxi-button-block__icon svg > *{border-color:rgba(var(--maxi-light-color-5,0,0,0),1);border-style:dotted;border-top-width:70px;border-right-width:70px;border-bottom-width:70px;border-left-width:70px;border-top-left-radius:26%;border-top-right-radius:26%;border-bottom-right-radius:26%;border-bottom-left-radius:26%;}body.maxi-blocks--active #button-maxi-1se8ef1z-u .maxi-button-block__button:hover .maxi-button-block__icon svg{height:245px;width:245px;}body.maxi-blocks--active #button-maxi-1se8ef1z-u .
|
e2e-js:
e2e-tests/components/toolbar/components/icon-background/index.spec.js#L1032
Error: Error: failed to find element matching selector ".maxi-color-control .maxi-color-control__palette-label .maxi-color-control__palette-container .maxi-color-control__palette-box--active"
at ElementHandle.$eval (/home/runner/work/maxi-blocks/maxi-blocks/node_modules/puppeteer-core/src/common/JSHandle.ts:1032:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
e2e-js
Process completed with exit code 1.
|
e2e-js
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
e2e-js
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|