Bump the wordpress-packages group with 29 updates #1606
Annotations
4 errors
Run unit tests (with coverage):
assets/src/block-validation/components/amp-validation-status/test/status-notification.js#L106
Error: expect(received).toMatchSnapshot()
Snapshot name: `AMPValidationStatusNotification renders error message when there are kept issues 1`
- Snapshot - 1
+ Received + 1
- "<div class="sidebar-notification"><div class="sidebar-notification__icon"><svg width="21" height="21" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip-amp-validation-errors-kept)" fill="#BB522E"><path d="M10.762 2.541c4.4 0 8 3.6 8 8 0 1.6-.5 3-1.2 4.2l1.4 1.5c1.1-1.6 1.8-3.6 1.8-5.7 0-5.5-4.5-10-10-10-2 0-3.9.6-5.5 1.7l1.4 1.5c1.2-.8 2.6-1.2 4.1-1.2ZM.762 10.541c0 5.5 4.5 10 10 10 2.7 0 5.1-1.1 6.9-2.8l-14-14.2c-1.8 1.8-2.9 4.3-2.9 7Zm10 8c-4.4 0-8-3.6-8-8 0-1.5.4-2.8 1.1-4l10.9 10.9c-1.2.7-2.5 1.1-4 1.1Z"></path><path d="M14.262 9.74c.1 0 .1-.1.1-.2 0-.2-.2-.4-.4-.4h-2l1.6 1.6.7-1ZM12.461 4.541h-.8l-1.6 2.6 1.7 1.7.7-4.3ZM7.462 11.541s-.1.1-.1.2c0 .2.2.4.4.4h2.3l-.8 4.5h.7l2.6-4.1-3.5-3.6-1.6 2.6Z"></path></g><defs><clipPath id="clip-amp-validation-errors-kept"><path fill="#fff" transform="translate(.762 .541)" d="M0 0h20v20H0z"></path></clipPath></defs></svg></div><div class="sidebar-notification__content"><p>AMP is disabled due to invalid markup being kept for 2 issues.</p><div class="sidebar-notification__action"><a class="components-external-link" href="http://example.com" target="_blank" rel="external noreferrer noopener">View technical details<span data-wp-c16t="true" data-wp-component="VisuallyHidden" class="components-visually-hidden css-1mm2cvy-View e19lxcc00" 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;">(opens in a new tab)</span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" class="components-external-link__icon css-16iaek2-StyledIcon esh4a730" aria-hidden="true" focusable="false"><path d="M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"></path></svg></a><br><a class="components-external-link" href="http://example.com/support" target="_blank" rel="external noreferrer noopener">Get Support<span data-wp-c16t="true" data-wp-component="VisuallyHidden" class="components-visually-hidden css-1mm2cvy-View e19lxcc00" 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;">(opens in a new tab)</span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" class="components-external-link__icon css-16iaek2-StyledIcon esh4a730" aria-hidden="true" focusable="false"><path d="M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"></path></svg></a></div></div></div>"
+ "<div class="sidebar-notification"><div class="sidebar-notification__icon"><svg width="21" height="21" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip-amp-validation-errors-kept)" fill="#BB522E"><path d="M10.762 2.541c4.4 0 8 3.6 8 8 0 1.6-.5 3-1.2 4.2l1.4 1.5c1.1-1.6 1.8-3.6 1.8-5.7 0-5.5-4.5-10-10-10-2 0-3.9.6-5.5 1.7l1.4 1.5c1.2-.8 2.6-1.2 4.1-1.2ZM.762 10.541c0 5.5 4.5 10 10 10 2.7 0 5.1-1.1 6.9-2.8l-14-14.2c-1.8 1.8-2.9 4.3-2.9 7Zm10 8c-4.4 0-8-3.6-8-8 0-1.5.4-2.8 1.1-4l10.9 10.9c-1.2.7-2.5 1.1-4 1.1Z"></path><path d="M14.262 9.74c.1 0 .1-.1.1-.2 0-.2-.2-.4-.4-.4h-2l1.6 1.6.7-1ZM12.461 4.541h-.8l-1.6 2.6 1.7 1.7.7-4.3ZM7.462 11.541s-.1.1-.1.2c0 .2.2.4.4.4h2.3l-.8 4.5h.7l2.6-4.1-3.5-3.6-1.6 2.6Z"></path></g><defs><clipPath id="clip-amp-validation-errors-kept"><path fill="#fff" transform="translate(.762 .541)" d="M0 0h20v20H0z"></path></clipPath></defs></svg></div><div class="sidebar-notification__content"><p>AMP is disabled due to invalid markup being kept for 2 issues.</p><div class="sidebar-notification__action"><a class="comp
|
Run unit tests (with coverage):
assets/src/block-validation/components/amp-validation-status/test/status-notification.js#L122
Error: expect(received).toMatchSnapshot()
Snapshot name: `AMPValidationStatusNotification renders message when there are unreviewed issues 1`
- Snapshot - 1
+ Received + 1
- "<div class="sidebar-notification"><div class="sidebar-notification__icon"><div class="amp-status-icon amp-status-icon--broken"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="#0075C2" d="m13.3 9.1-4 6.6h-.8l.7-4.3H7c-.2 0-.4-.2-.4-.4 0-.1.1-.2.1-.2l4-6.6h.7l-.7 4.3h2.2c.2 0 .4.2.4.4.1.1 0 .2 0 .2zM10 .5C4.7.5.4 4.8.4 10c0 5.3 4.3 9.5 9.6 9.5s9.6-4.3 9.6-9.5c0-5.3-4.3-9.5-9.6-9.5z"></path></svg></div></div><div class="sidebar-notification__content"><p>AMP is valid, but 3 issues need review.</p><div class="sidebar-notification__action"><a class="components-external-link" href="http://example.com" target="_blank" rel="external noreferrer noopener">View technical details<span data-wp-c16t="true" data-wp-component="VisuallyHidden" class="components-visually-hidden css-1mm2cvy-View e19lxcc00" 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;">(opens in a new tab)</span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" class="components-external-link__icon css-16iaek2-StyledIcon esh4a730" aria-hidden="true" focusable="false"><path d="M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"></path></svg></a><br><a class="components-external-link" href="http://example.com/support" target="_blank" rel="external noreferrer noopener">Get Support<span data-wp-c16t="true" data-wp-component="VisuallyHidden" class="components-visually-hidden css-1mm2cvy-View e19lxcc00" 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;">(opens in a new tab)</span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" class="components-external-link__icon css-16iaek2-StyledIcon esh4a730" aria-hidden="true" focusable="false"><path d="M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"></path></svg></a></div></div></div>"
+ "<div class="sidebar-notification"><div class="sidebar-notification__icon"><div class="amp-status-icon amp-status-icon--broken"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="#0075C2" d="m13.3 9.1-4 6.6h-.8l.7-4.3H7c-.2 0-.4-.2-.4-.4 0-.1.1-.2.1-.2l4-6.6h.7l-.7 4.3h2.2c.2 0 .4.2.4.4.1.1 0 .2 0 .2zM10 .5C4.7.5.4 4.8.4 10c0 5.3 4.3 9.5 9.6 9.5s9.6-4.3 9.6-9.5c0-5.3-4.3-9.5-9.6-9.5z"></path></svg></div></div><div class="sidebar-notification__content"><p>AMP is valid, but 3 issues need review.</p><div class="sidebar-notification__action"><a class="components-external-link" href="http://example.com" target="_blank" rel="external noreferrer noopener"><span class="components-external-link__contents">View technical details</span><span class="components-external-link__icon" aria-label="(opens in a new tab)">↗</span></a><br><a class="components-external-link" href="http://example.com/support" target="_blank" rel="external noreferrer noopener"><span class="components-external-link__contents">Get Support</span><span class="components-external-link__icon" aria-label="(opens in a new tab)">↗</span></a></div></div></div>"
at Object.toMatchSnapshot (/home/runner/work/amp-wp/amp-wp/assets/src/block-validation/components/amp-validation-status/test/status-notification.js:122:31)
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)
|
Run unit tests (with coverage):
assets/src/block-validation/components/amp-validation-status/test/status-notification.js#L138
Error: expect(received).toMatchSnapshot()
Snapshot name: `AMPValidationStatusNotification renders message when there are reviewed issues 1`
- Snapshot - 1
+ Received + 1
- "<div class="sidebar-notification"><div class="sidebar-notification__icon"><div class="amp-status-icon "><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="#0075C2" d="m13.3 9.1-4 6.6h-.8l.7-4.3H7c-.2 0-.4-.2-.4-.4 0-.1.1-.2.1-.2l4-6.6h.7l-.7 4.3h2.2c.2 0 .4.2.4.4.1.1 0 .2 0 .2zM10 .5C4.7.5.4 4.8.4 10c0 5.3 4.3 9.5 9.6 9.5s9.6-4.3 9.6-9.5c0-5.3-4.3-9.5-9.6-9.5z"></path></svg></div></div><div class="sidebar-notification__content"><p>AMP is valid. 1 issue was reviewed.</p><div class="sidebar-notification__action"><a class="components-external-link" href="http://example.com" target="_blank" rel="external noreferrer noopener">View technical details<span data-wp-c16t="true" data-wp-component="VisuallyHidden" class="components-visually-hidden css-1mm2cvy-View e19lxcc00" 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;">(opens in a new tab)</span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" class="components-external-link__icon css-16iaek2-StyledIcon esh4a730" aria-hidden="true" focusable="false"><path d="M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"></path></svg></a><br><a class="components-external-link" href="http://example.com/support" target="_blank" rel="external noreferrer noopener">Get Support<span data-wp-c16t="true" data-wp-component="VisuallyHidden" class="components-visually-hidden css-1mm2cvy-View e19lxcc00" 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;">(opens in a new tab)</span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" class="components-external-link__icon css-16iaek2-StyledIcon esh4a730" aria-hidden="true" focusable="false"><path d="M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"></path></svg></a></div></div></div>"
+ "<div class="sidebar-notification"><div class="sidebar-notification__icon"><div class="amp-status-icon "><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="#0075C2" d="m13.3 9.1-4 6.6h-.8l.7-4.3H7c-.2 0-.4-.2-.4-.4 0-.1.1-.2.1-.2l4-6.6h.7l-.7 4.3h2.2c.2 0 .4.2.4.4.1.1 0 .2 0 .2zM10 .5C4.7.5.4 4.8.4 10c0 5.3 4.3 9.5 9.6 9.5s9.6-4.3 9.6-9.5c0-5.3-4.3-9.5-9.6-9.5z"></path></svg></div></div><div class="sidebar-notification__content"><p>AMP is valid. 1 issue was reviewed.</p><div class="sidebar-notification__action"><a class="components-external-link" href="http://example.com" target="_blank" rel="external noreferrer noopener"><span class="components-external-link__contents">View technical details</span><span class="components-external-link__icon" aria-label="(opens in a new tab)">↗</span></a><br><a class="components-external-link" href="http://example.com/support" target="_blank" rel="external noreferrer noopener"><span class="components-external-link__contents">Get Support</span><span class="components-external-link__icon" aria-label="(opens in a new tab)">↗</span></a></div></div></div>"
at Object.toMatchSnapshot (/home/runner/work/amp-wp/amp-wp/assets/src/block-validation/components/amp-validation-status/test/status-notification.js:138:31)
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/nod
|
Run unit tests (with coverage)
Process completed with exit code 1.
|
Loading