From abe4aa355a31478dc54e46cf92ca7b6841e7fceb Mon Sep 17 00:00:00 2001 From: habubey Date: Wed, 19 Apr 2023 10:16:48 +0300 Subject: [PATCH] Refactor snapshot folders: Button.spec.js.snap Chip.spec.js.snap Fieldset.spec.js.snap Message.spec.js.snap --- .../button/__snapshots__/Button.spec.js.snap | 34 ++- .../lib/chip/__snapshots__/Chip.spec.js.snap | 68 +++++- .../__snapshots__/Fieldset.spec.js.snap | 100 +++++++-- .../__snapshots__/Message.spec.js.snap | 193 ++++++++++++++++-- 4 files changed, 352 insertions(+), 43 deletions(-) diff --git a/components/lib/button/__snapshots__/Button.spec.js.snap b/components/lib/button/__snapshots__/Button.spec.js.snap index 3da763a952..84e01ee0e8 100644 --- a/components/lib/button/__snapshots__/Button.spec.js.snap +++ b/components/lib/button/__snapshots__/Button.spec.js.snap @@ -84,12 +84,38 @@ exports[`Button when click the button if loading is false it renders Button with exports[`Button when click the button if loading is true it renders Button with loading icon 1`] = `
`; @@ -82,10 +110,38 @@ exports[`Chip when removable is true the chip is removed when ENTER is pressed:
-
`; diff --git a/components/lib/fieldset/__snapshots__/Fieldset.spec.js.snap b/components/lib/fieldset/__snapshots__/Fieldset.spec.js.snap index c24360c301..5590255272 100644 --- a/components/lib/fieldset/__snapshots__/Fieldset.spec.js.snap +++ b/components/lib/fieldset/__snapshots__/Fieldset.spec.js.snap @@ -69,9 +69,35 @@ exports[`Fieldset when Fieldset is toggleable it must expand and collapse: expan href="#pr_id_3_content" id="pr_id_3_header" > - + @@ -113,9 +139,20 @@ exports[`Fieldset when Fieldset is toggleable it must expand and collapse: expan href="#pr_id_3_content" id="pr_id_3_header" > - + @@ -156,9 +193,20 @@ exports[`Fieldset when Fieldset is toggleable it must expand and collapse: expan href="#pr_id_3_content" id="pr_id_3_header" > - + @@ -200,9 +248,20 @@ exports[`Fieldset when Fieldset is toggleable it will toggle when clicked: toggl href="#pr_id_2_content" id="pr_id_2_header" > - + @@ -243,9 +302,20 @@ exports[`Fieldset when Fieldset is toggleable it will toggle when clicked: toggl href="#pr_id_2_content" id="pr_id_2_header" > - + diff --git a/components/lib/message/__snapshots__/Message.spec.js.snap b/components/lib/message/__snapshots__/Message.spec.js.snap index 10b26674e9..f931318ef5 100644 --- a/components/lib/message/__snapshots__/Message.spec.js.snap +++ b/components/lib/message/__snapshots__/Message.spec.js.snap @@ -21,9 +21,37 @@ exports[`Message default 1`] = ` class="p-inline-message p-component p-inline-message-info p-inline-message-icon-only" role="alert" > - + @@ -55,9 +83,37 @@ exports[`Message severity error 1`] = ` class="p-inline-message p-component p-inline-message-error" role="alert" > - + @@ -74,9 +130,37 @@ exports[`Message severity info 1`] = ` class="p-inline-message p-component p-inline-message-info" role="alert" > - + @@ -93,9 +177,20 @@ exports[`Message severity success 1`] = ` class="p-inline-message p-component p-inline-message-success" role="alert" > - + @@ -112,9 +207,43 @@ exports[`Message severity warn 1`] = ` class="p-inline-message p-component p-inline-message-warn" role="alert" > - + @@ -131,9 +260,37 @@ exports[`Message templating 1`] = ` class="p-inline-message p-component p-inline-message-info p-inline-message-icon-only" role="alert" > - +