From 06c307e45ffe68edac49115f8b6276acbba23cbc Mon Sep 17 00:00:00 2001 From: Norton Andreev Date: Tue, 30 Apr 2024 12:00:13 +0300 Subject: [PATCH] Up --- .../__snapshots__/Stake.spec.js.snap | 15 +- .../__tests__/__snapshots__/Card.spec.js.snap | 2 +- .../__tests__/__snapshots__/page.spec.js.snap | 39 +- .../__tests__/__snapshots__/page.spec.js.snap | 30 +- .../__tests__/__snapshots__/page.spec.js.snap | 342 +++++++++--------- .../__tests__/__snapshots__/page.spec.js.snap | 51 ++- 6 files changed, 235 insertions(+), 244 deletions(-) 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 a20ad738dd..a90b6df69b 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 @@ -302,13 +302,14 @@ exports[`Stake > should render the Stake notice 1`] = `
-
@@ -320,12 +321,11 @@ exports[`Stake > should render the Stake notice 1`] = `

Only stake if you have a node set up!

- -
+

should render the Stake notice 1`] = ` + diff --git a/web-wallet/src/lib/dusk/components/__tests__/__snapshots__/Card.spec.js.snap b/web-wallet/src/lib/dusk/components/__tests__/__snapshots__/Card.spec.js.snap index 2469e42582..8a4b27b484 100644 --- a/web-wallet/src/lib/dusk/components/__tests__/__snapshots__/Card.spec.js.snap +++ b/web-wallet/src/lib/dusk/components/__tests__/__snapshots__/Card.spec.js.snap @@ -3,7 +3,7 @@ exports[`Card > renders the Card component 1`] = `

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 e3b50db0b0..6f3dd4957a 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 @@ -6,13 +6,14 @@ exports[`Forced logout page > should render the page alert the user about the fo class="forced-logout s-1sbyBWavtBQ9" >
-
@@ -24,26 +25,30 @@ exports[`Forced logout page > should render the page alert the user about the fo

You have been automatically logged out

- -
+
-

- Another tab or window unlocked a different wallet and replaced the local - cache. -

+

+ Another tab or window unlocked a different wallet and replaced the local + cache. +

+ +

+ When you log in again with the mnemonic you used in this session, you + will need to wait for a full sync. +

+
-

- When you log in again with the mnemonic you used in this session, you will - need to wait for a full sync. -

diff --git a/web-wallet/src/routes/(welcome)/login/__tests__/__snapshots__/page.spec.js.snap b/web-wallet/src/routes/(welcome)/login/__tests__/__snapshots__/page.spec.js.snap index c9ef709be9..fa8ec85d30 100644 --- a/web-wallet/src/routes/(welcome)/login/__tests__/__snapshots__/page.spec.js.snap +++ b/web-wallet/src/routes/(welcome)/login/__tests__/__snapshots__/page.spec.js.snap @@ -30,13 +30,14 @@ exports[`Login > Mnemonic phrase workflow > should render the login page and sho class="login s-diEOsynXV9Ac" >
-
@@ -48,12 +49,11 @@ exports[`Login > Mnemonic phrase workflow > should render the login page and sho

Mnemonic phrase

- -
+ +
@@ -155,13 +156,14 @@ exports[`Login > Password workflow > should show the password field and the link class="login s-diEOsynXV9Ac" >
-
@@ -173,12 +175,11 @@ exports[`Login > Password workflow > should show the password field and the link

Password

- -
+ +
diff --git a/web-wallet/src/routes/(welcome)/setup/create/__tests__/__snapshots__/page.spec.js.snap b/web-wallet/src/routes/(welcome)/setup/create/__tests__/__snapshots__/page.spec.js.snap index 15e61db7de..389951d7b3 100644 --- a/web-wallet/src/routes/(welcome)/setup/create/__tests__/__snapshots__/page.spec.js.snap +++ b/web-wallet/src/routes/(welcome)/setup/create/__tests__/__snapshots__/page.spec.js.snap @@ -75,13 +75,14 @@ exports[`Create > correctly renders the Mnemonic Preview page 1`] = `
-
@@ -93,15 +94,14 @@ exports[`Create > correctly renders the Mnemonic Preview page 1`] = `

Keep this SAFE

- -
+

Please make sure to write your phrase down and save it in a secure location.

@@ -171,6 +171,7 @@ exports[`Create > correctly renders the Mnemonic Preview page 1`] = ` + @@ -329,22 +330,17 @@ exports[`Create > correctly renders the Mnemonic Verification page 1`] = `
-
- -

- Verification -

- -
+ Verification +

Ensure you have backed up the Mnemonic phrase.

@@ -614,6 +610,7 @@ exports[`Create > correctly renders the Mnemonic Verification page 1`] = ` +
@@ -770,22 +767,17 @@ exports[`Create > doesn't let the user proceed if they have entered mismatching
-
- -

- Verification -

- -
+ Verification +

Ensure you have backed up the Mnemonic phrase.

@@ -1066,7 +1058,7 @@ exports[`Create > doesn't let the user proceed if they have entered mismatching
doesn't let the user proceed if they have entered mismatching -

+

Mnemonic does not match.

+
@@ -1243,22 +1234,17 @@ exports[`Create > ensures that the Undo button on the Mnemonic Validate step wor
-
- -

- Verification -

- -
+ Verification +

Ensure you have backed up the Mnemonic phrase.

@@ -1538,6 +1524,7 @@ exports[`Create > ensures that the Undo button on the Mnemonic Validate step wor +
@@ -1703,19 +1690,14 @@ exports[`Create > ensures the All Done step renders as expected 1`] = `
-
- -

- You are all set! -

- -
+ You are all set! + All Set ensures the All Done step renders as expected 1`] = ` width="205" /> +
@@ -1849,28 +1832,33 @@ exports[`Create > ensures the Password step renders as expected 1`] = `
-
- - - - - - -

- Password -

+ + + + + + +

+ Password +

+
ensures the Password step renders as expected 1`] = ` tabindex="0" /> - +
+ + @@ -2062,28 +2052,33 @@ exports[`Create > ensures the Password step renders as expected 2`] = `
-
- - - - - - -

- Password -

+ + + + + + +

+ Password +

+
ensures the Password step renders as expected 2`] = ` tabindex="0" /> - +

ensures the Password step renders as expected 2`] = ` Password must be at least 8 characters + + @@ -2488,22 +2485,17 @@ exports[`Create > lets the user proceed if they have entered a matching Mnemonic

-
- -

- Verification -

- -
+ Verification +

Ensure you have backed up the Mnemonic phrase.

@@ -2784,6 +2776,7 @@ exports[`Create > lets the user proceed if they have entered a matching Mnemonic +
@@ -2933,62 +2926,62 @@ exports[`Create > should render the \`Securely store your seed phrase!\` agreeme
-
- -

- Securely store your seed phrase! -

- -
+ Securely store your seed phrase! +
- - - - -
- - -
- - + + + + +
+ - + + + + +
+ - + @@ -3109,13 +3102,14 @@ exports[`Create > should render the Existing Wallet notice step of the Create fl class="s-0jNtmKPqmF7T" >
-
@@ -3127,12 +3121,11 @@ exports[`Create > should render the Existing Wallet notice step of the Create fl

Existing Wallet Detected

- -
+

should render the Existing Wallet notice step of the Create fl + @@ -3194,19 +3188,14 @@ exports[`Create > should render the Terms of Service step of the Create flow if class="s-c41QPMu_i3CH" >

-
- -

- Terms & Privacy Policy -

- -
+ Terms & Privacy Policy +

should render the Terms of Service step of the Create flow if

+ diff --git a/web-wallet/src/routes/(welcome)/setup/restore/__tests__/__snapshots__/page.spec.js.snap b/web-wallet/src/routes/(welcome)/setup/restore/__tests__/__snapshots__/page.spec.js.snap index 93f0a31d7c..f795e0a620 100644 --- a/web-wallet/src/routes/(welcome)/setup/restore/__tests__/__snapshots__/page.spec.js.snap +++ b/web-wallet/src/routes/(welcome)/setup/restore/__tests__/__snapshots__/page.spec.js.snap @@ -9,13 +9,14 @@ exports[`Restore > should render the Existing Wallet notice step of the Restore class="s-0jNtmKPqmF7T" >
-
@@ -27,12 +28,11 @@ exports[`Restore > should render the Existing Wallet notice step of the Restore

Existing Wallet Detected

- -
+

should render the Existing Wallet notice step of the Restore + @@ -142,19 +143,14 @@ exports[`Restore > should render the Mnemonic Authenticate step after accepting

-
- -

- Enter your Mnemonic Phrase -

- -
+ Enter your Mnemonic Phrase +
should render the Mnemonic Authenticate step after accepting
+ @@ -384,19 +381,14 @@ exports[`Restore > should render the Terms of Service step of the Restore flow i class="s-c41QPMu_i3CH" >
-
- -

- Terms & Privacy Policy -

- -
+ Terms & Privacy Policy +

should render the Terms of Service step of the Restore flow i

+