Skip to content

Commit

Permalink
test: fix test snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Dec 11, 2024
1 parent 43bee37 commit e37ec76
Showing 1 changed file with 25 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,39 +145,34 @@ exports[`renders a valid legacy widget item 1`] = `
exports[`renders an invalid App item 1`] = `
<div>
<div
class="jsx-3042342945 "
data-test="dhis2-uicore-componentcover"
class="messageContent"
>
<div
class="messageContent"
<svg
color="#a0adba"
height="24"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<svg
color="#a0adba"
height="24"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M12.847 2.794l.056.102 8.416 17.674a1 1 0 01-.786 1.423l-.117.007H3.584a1 1 0 01-.947-1.322l.044-.108 8.416-17.674a1 1 0 011.75-.102zM12 5.65L5.167 19.999h13.665zM12 17a1 1 0 110 2 1 1 0 010-2zm1-7v6h-2v-6z"
fill="currentColor"
/>
</svg>
<span>
The plugin needed to display this item is not available
</span>
<span
class="appLink"
<path
d="M12.847 2.794l.056.102 8.416 17.674a1 1 0 01-.786 1.423l-.117.007H3.584a1 1 0 01-.947-1.322l.044-.108 8.416-17.674a1 1 0 011.75-.102zM12 5.65L5.167 19.999h13.665zM12 17a1 1 0 110 2 1 1 0 010-2zm1-7v6h-2v-6z"
fill="currentColor"
/>
</svg>
<span>
The plugin needed to display this item is not available
</span>
<span
class="appLink"
>
<a
href="../dhis-web-app-management/index.html#/app-hub"
rel="noopener noreferrer"
target="_blank"
>
<a
href="../dhis-web-app-management/index.html#/app-hub"
rel="noopener noreferrer"
target="_blank"
>
Install the unknownApp plugin from the App Hub
</a>
</span>
</div>
Install the unknownApp plugin from the App Hub
</a>
</span>
</div>
</div>
`;

0 comments on commit e37ec76

Please sign in to comment.