Skip to content

Commit

Permalink
chore: updated snapshots.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlabaj committed Oct 11, 2024
1 parent a4b71d8 commit 59e22ad
Showing 1 changed file with 12 additions and 48 deletions.
60 changes: 12 additions & 48 deletions packages/module/src/Severity/__snapshots__/Severity.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
exports[`Severity component API should hide label 1`] = `
<div>
<i
class="severity-0-2-1 severityImportant-0-2-6"
data-ouia-component-id="Severity-icon"
title="important important"
widget-id="important"
Expand All @@ -12,6 +11,7 @@ exports[`Severity component API should hide label 1`] = `
<svg
aria-hidden="true"
class="pf-v6-svg"
color="var(--pf-t--global--icon--color--severity--important--default)"
fill="currentColor"
height="1em"
role="img"
Expand All @@ -29,7 +29,6 @@ exports[`Severity component API should hide label 1`] = `
exports[`Severity component should render correctly CriticalSeverity 1`] = `
<div>
<i
class="severity-0-2-1 severityCritical-0-2-7"
data-ouia-component-id="Severity-icon"
title="critical Critical"
widget-id="Critical"
Expand All @@ -38,6 +37,7 @@ exports[`Severity component should render correctly CriticalSeverity 1`] = `
<svg
aria-hidden="true"
class="pf-v6-svg"
color="var(--pf-t--global--icon--color--severity--critical--default)"
fill="currentColor"
height="1em"
role="img"
Expand All @@ -49,20 +49,13 @@ exports[`Severity component should render correctly CriticalSeverity 1`] = `
/>
</svg>
</i>
<span
class="severityLabel-0-2-2"
>
Critical
</span>
Critical
</div>
`;

exports[`Severity component should render correctly HighSeverity 1`] = `
<div>
<i
class="severity-0-2-1 severityImportant-0-2-6"
data-ouia-component-id="Severity-icon"
title="important Important"
widget-id="Important"
Expand All @@ -71,6 +64,7 @@ exports[`Severity component should render correctly HighSeverity 1`] = `
<svg
aria-hidden="true"
class="pf-v6-svg"
color="var(--pf-t--global--icon--color--severity--important--default)"
fill="currentColor"
height="1em"
role="img"
Expand All @@ -82,20 +76,13 @@ exports[`Severity component should render correctly HighSeverity 1`] = `
/>
</svg>
</i>
<span
class="severityLabel-0-2-2"
>
Important
</span>
Important
</div>
`;

exports[`Severity component should render correctly LowSeverity 1`] = `
<div>
<i
class="severity-0-2-1 severityMinor-0-2-4"
data-ouia-component-id="Severity-icon"
title="minor Minor"
widget-id="Minor"
Expand All @@ -104,6 +91,7 @@ exports[`Severity component should render correctly LowSeverity 1`] = `
<svg
aria-hidden="true"
class="pf-v6-svg"
color="var(--pf-t--global--icon--color--severity--minor--default)"
fill="currentColor"
height="1em"
role="img"
Expand All @@ -115,20 +103,13 @@ exports[`Severity component should render correctly LowSeverity 1`] = `
/>
</svg>
</i>
<span
class="severityLabel-0-2-2"
>
Minor
</span>
Minor
</div>
`;

exports[`Severity component should render correctly LowSeverity 2`] = `
<div>
<i
class="severity-0-2-1 severityMinor-0-2-4"
data-ouia-component-id="Severity-icon"
title="none None"
widget-id="None"
Expand All @@ -137,6 +118,7 @@ exports[`Severity component should render correctly LowSeverity 2`] = `
<svg
aria-hidden="true"
class="pf-v6-svg"
color="var(--pf-t--global--icon--color--severity--none--default)"
fill="currentColor"
height="1em"
role="img"
Expand All @@ -148,20 +130,13 @@ exports[`Severity component should render correctly LowSeverity 2`] = `
/>
</svg>
</i>
<span
class="severityLabel-0-2-2"
>
None
</span>
None
</div>
`;

exports[`Severity component should render correctly MediumSeverity 1`] = `
<div>
<i
class="severity-0-2-1 severityModerate-0-2-5"
data-ouia-component-id="Severity-icon"
title="moderate Moderate"
widget-id="Moderate"
Expand All @@ -170,6 +145,7 @@ exports[`Severity component should render correctly MediumSeverity 1`] = `
<svg
aria-hidden="true"
class="pf-v6-svg"
color="var(--pf-t--global--icon--color--severity--moderate--default)"
fill="currentColor"
height="1em"
role="img"
Expand All @@ -181,20 +157,13 @@ exports[`Severity component should render correctly MediumSeverity 1`] = `
/>
</svg>
</i>
<span
class="severityLabel-0-2-2"
>
Moderate
</span>
Moderate
</div>
`;

exports[`Severity component should render correctly UndefinedSeverity, default 1`] = `
<div>
<i
class="severity-0-2-1 severityNone-0-2-3"
data-ouia-component-id="Severity-icon"
title=" "
widget-id=""
Expand All @@ -203,6 +172,7 @@ exports[`Severity component should render correctly UndefinedSeverity, default 1
<svg
aria-hidden="true"
class="pf-v6-svg"
color="var(--pf-t--global--icon--color--severity--undefined--default)"
fill="currentColor"
height="1em"
role="img"
Expand All @@ -214,11 +184,5 @@ exports[`Severity component should render correctly UndefinedSeverity, default 1
/>
</svg>
</i>
<span
class="severityLabel-0-2-2"
>
</span>
</div>
`;

0 comments on commit 59e22ad

Please sign in to comment.