diff --git a/web-wallet/src/lib/components/__tests__/__snapshots__/Stake.spec.js.snap b/web-wallet/src/lib/components/__tests__/__snapshots__/Stake.spec.js.snap index 0606a13782..7183f3e837 100644 --- a/web-wallet/src/lib/components/__tests__/__snapshots__/Stake.spec.js.snap +++ b/web-wallet/src/lib/components/__tests__/__snapshots__/Stake.spec.js.snap @@ -272,11 +272,11 @@ exports[`Stake > should render the Stake notice 1`] = ` class="dusk-card dusk-card--gap-default dusk-card--on-surface" >
-
-
+
+
{#if iconPath} {/if} diff --git a/web-wallet/src/lib/containers/Cards/ToggleableCard.svelte b/web-wallet/src/lib/containers/Cards/ToggleableCard.svelte index 1edc149b60..ae2a44f1c2 100644 --- a/web-wallet/src/lib/containers/Cards/ToggleableCard.svelte +++ b/web-wallet/src/lib/containers/Cards/ToggleableCard.svelte @@ -20,8 +20,8 @@ -
-
+
+
{#if iconPath} {/if} diff --git a/web-wallet/src/lib/containers/__tests__/__snapshots__/IconHeaderToggleCard.spec.js.snap b/web-wallet/src/lib/containers/__tests__/__snapshots__/IconHeaderToggleCard.spec.js.snap deleted file mode 100644 index 542a8b890d..0000000000 --- a/web-wallet/src/lib/containers/__tests__/__snapshots__/IconHeaderToggleCard.spec.js.snap +++ /dev/null @@ -1,124 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`IconHeaderToggleCard > renders the IconHeaderToggleCard component with a heading 1`] = ` -
-
-
-
- -

- My Card -

-
- -
- - - -
- - - -
-`; - -exports[`IconHeaderToggleCard > renders the IconHeaderToggleCard component with a heading and an icon 1`] = ` -
-
-
-
- - - - - - -

- My Card -

-
- -
- - - -
- - - -
-`; - -exports[`IconHeaderToggleCard > renders the IconHeaderToggleCard component with a toggle 1`] = ` -
-
-
-
- - - - - - -

- My Card -

-
- -
- -
- - - -
- - - -
-`; diff --git a/web-wallet/src/lib/containers/__tests__/__snapshots__/IconHeadingCard.spec.js.snap b/web-wallet/src/lib/containers/__tests__/__snapshots__/IconHeadingCard.spec.js.snap index ed434192ea..131298337a 100644 --- a/web-wallet/src/lib/containers/__tests__/__snapshots__/IconHeadingCard.spec.js.snap +++ b/web-wallet/src/lib/containers/__tests__/__snapshots__/IconHeadingCard.spec.js.snap @@ -5,11 +5,11 @@ exports[`IconHeadingCard > renders the IconHeadingCard component with a heading class="dusk-card dusk-card--gap-default" >

renders the IconHeadingCard component with a heading class="dusk-card dusk-card--gap-default" >
renders the ToggleableCard component with a heading 1 class="dusk-card dusk-card--gap-default" >

renders the ToggleableCard component with a heading a class="dusk-card dusk-card--gap-default" >
renders the ToggleableCard component with a toggle 1` class="dusk-card dusk-card--gap-default" >
renders the Card component 1`] = `
`; - -exports[`Card > renders the Card component with a heading 1`] = ` -
-
- -

- My Card -

- -
- -
-`; - -exports[`Card > renders the Card component with an icon when iconPath is provided 1`] = ` -
-
- - - - - -

- My Card -

- -
- -
-`; diff --git a/web-wallet/src/routes/(welcome)/forced-logout/__tests__/__snapshots__/page.spec.js.snap b/web-wallet/src/routes/(welcome)/forced-logout/__tests__/__snapshots__/page.spec.js.snap index e848fc08f5..6fad814485 100644 --- a/web-wallet/src/routes/(welcome)/forced-logout/__tests__/__snapshots__/page.spec.js.snap +++ b/web-wallet/src/routes/(welcome)/forced-logout/__tests__/__snapshots__/page.spec.js.snap @@ -8,11 +8,11 @@ exports[`Forced logout page > should render the page alert the user about the fo class="dusk-card dusk-card--gap-default" >
Mnemonic phrase workflow > should render the login page and sho class="dusk-card dusk-card--gap-medium" >
Password workflow > should show the password field and the link class="dusk-card dusk-card--gap-medium" >
correctly renders the Mnemonic Preview page 1`] = ` class="dusk-card dusk-card--gap-default" >
correctly renders the Mnemonic Verification page 1`] = ` class="dusk-card dusk-card--gap-default" >

doesn't let the user proceed if they have entered mismatching class="dusk-card dusk-card--gap-default" >

ensures that the Undo button on the Mnemonic Validate step wor class="dusk-card dusk-card--gap-default" >

ensures the All Done step renders as expected 1`] = ` class="dusk-card dusk-card--gap-medium" >

ensures the Password step renders as expected 1`] = ` class="dusk-card dusk-card--gap-default" >
ensures the Password step renders as expected 2`] = ` class="dusk-card dusk-card--gap-default" >
lets the user proceed if they have entered a matching Mnemonic class="dusk-card dusk-card--gap-default" >

should render the \`Securely store your seed phrase!\` agreeme class="dusk-card dusk-card--gap-medium" >

should render the Existing Wallet notice step of the Create fl class="dusk-card dusk-card--gap-default" >
should render the Terms of Service step of the Create flow if class="dusk-card dusk-card--gap-default" >

should render the Existing Wallet notice step of the Restore class="dusk-card dusk-card--gap-default" >
should render the Mnemonic Authenticate step after accepting class="dusk-card dusk-card--gap-medium" >

should render the Terms of Service step of the Restore flow i class="dusk-card dusk-card--gap-default" >