Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleybl committed Feb 11, 2025
1 parent d1067b4 commit 404a9fc
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ exports[`FileWidget renders a file widget component with value 1`] = `
tabindex="0"
>
<img
class="ui small image image-preview"
alt=""
class="image-preview small ui image"
fetchpriority="high"
id="field-my-field-image"
src="http://myfile?id=0"
/>
Expand Down Expand Up @@ -116,7 +118,9 @@ exports[`FileWidget renders a file widget component with value in raw data 1`] =
tabindex="0"
>
<img
class="ui small image image-preview"
alt=""
class="image-preview small ui image"
fetchpriority="high"
id="field-my-field-image"
src="data:image/png;base64,oiweurtksdgfjaslfqw9523563456"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ exports[`RegistryImageWidget renders a file widget component with value 1`] = `
tabindex="0"
>
<img
class="ui small image image-preview"
alt=""
class="image-preview small ui image"
fetchpriority="high"
id="field-my-field-image"
src="http://localhost:3000/@@site-logo/logo.cab945d8.svg"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ exports[`Multilingual Logo renders a logo component in a multilingual site langu
<img
alt="Logo of Plone Site"
className="ui image"
fetchpriority="high"
src="Logo.svg"
/>
</a>
Expand All @@ -23,6 +24,7 @@ exports[`Multilingual Logo renders a logo component in a multilingual site root
<img
alt="Logo of Plone Site"
className="ui image"
fetchpriority="high"
src="Logo.svg"
/>
</a>
Expand All @@ -37,6 +39,7 @@ exports[`Multilingual Logo renders a logo component with a custom logo in a non-
<img
alt="Logo of Plone Site"
className="ui image"
fetchpriority="high"
src="/@@site-logo/logo.cab945d8.svg"
/>
</a>
Expand All @@ -51,6 +54,7 @@ exports[`Multilingual Logo renders a logo component with a custom logo in a non-
<img
alt="Logo of Plone Site"
className="ui image"
fetchpriority="high"
src="/@@site-logo/logo.cab945d8.svg"
/>
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ exports[`Logo renders a logo component with a custom logo 1`] = `
<img
alt="Logo of Plone Site"
className="ui image"
fetchpriority="high"
src="/@@site-logo/logo.cab945d8.svg"
/>
</a>
Expand All @@ -23,6 +24,7 @@ exports[`Logo renders a logo component with a custom logo in a non-root url 1`]
<img
alt="Logo of Plone Site"
className="ui image"
fetchpriority="high"
src="/@@site-logo/logo.cab945d8.svg"
/>
</a>
Expand All @@ -37,6 +39,7 @@ exports[`Logo renders a logo component with default config 1`] = `
<img
alt="Logo of Plone Site"
className="ui image"
fetchpriority="high"
src="Logo.svg"
/>
</a>
Expand All @@ -51,6 +54,7 @@ exports[`Logo renders a logo component with default config in a non-root url 1`]
<img
alt="Logo of Plone Site"
className="ui image"
fetchpriority="high"
src="/@@site-logo/logo.cab945d8.svg"
/>
</a>
Expand Down

0 comments on commit 404a9fc

Please sign in to comment.