1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 06:07:06 +01:00
metamask-extension/ui/pages/first-time-flow/seed-phrase/reveal-seed-phrase/__snapshots__/reveal-seed-phrase.test.js.snap
Thomas Huang 646dbaaff2
Continue converting tests from enzyme to @testing-library/react (#16373)
* Add transaction activity log component

* Remove duplicate tx activity log snapshot.

* Convert Identicon test to tlr.

* Convert Metafoxlogo test to tlr.

* Convert Reveal Seed Phrase test to tlr.

* Consolidate and convert Send Footer test to tlr.

* Convert Settings test to tlr.

* Consolidate and convert security tab test to tlr.

* Convert null selectedOption to empty string, and add test id to Dropdown component.

* Add Send state to mock-state

* Lint mock-state.json
2022-11-04 13:56:24 -07:00

136 lines
4.4 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Reveal Secret Recovery Phrase should match snapshot 1`] = `
<div>
<div
class="reveal-seed-phrase"
data-testid="reveal-seed-phrase"
>
<div
class="seed-phrase__sections"
>
<div
class="seed-phrase__main"
>
<div
class="box box--margin-bottom-4 box--flex-direction-row"
>
<a
href="#"
>
&lt; Back
</a>
</div>
<div
class="first-time-flow__header"
>
Secret Recovery Phrase
</div>
<div
class="first-time-flow__text-block"
>
Your Secret Recovery Phrase makes it easy to back up and restore your account.
</div>
<div
class="first-time-flow__text-block"
>
WARNING: Never disclose your Secret Recovery Phrase. Anyone with this phrase can take your Ether forever.
</div>
<div
class="reveal-seed-phrase__secret"
>
<div
class="reveal-seed-phrase__secret-words notranslate reveal-seed-phrase__secret-words--hidden"
data-testid="hidden-seed-phrase"
>
debris dizzy just program just float decrease vacant alarm reduce speak stadium
</div>
<div
class="reveal-seed-phrase__secret-blocker"
data-testid="reveal-seed-blocker"
>
<svg
fill="var(--color-overlay-inverse)"
height="35px"
id="Capa_1"
style="enable-background: new 0 0 401.998 401.998;"
version="1.1"
viewBox="0 0 401.998 401.998"
width="28px"
x="0px"
xml:space="preserve"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
y="0px"
>
<g>
<path
d="M357.45,190.721c-5.331-5.33-11.8-7.993-19.417-7.993h-9.131v-54.821c0-35.022-12.559-65.093-37.685-90.218 C266.093,12.563,236.025,0,200.998,0c-35.026,0-65.1,12.563-90.222,37.688C85.65,62.814,73.091,92.884,73.091,127.907v54.821 h-9.135c-7.611,0-14.084,2.663-19.414,7.993c-5.33,5.326-7.994,11.799-7.994,19.417V374.59c0,7.611,2.665,14.086,7.994,19.417 c5.33,5.325,11.803,7.991,19.414,7.991H338.04c7.617,0,14.085-2.663,19.417-7.991c5.325-5.331,7.994-11.806,7.994-19.417V210.135 C365.455,202.523,362.782,196.051,357.45,190.721z M274.087,182.728H127.909v-54.821c0-20.175,7.139-37.402,21.414-51.675 c14.277-14.275,31.501-21.411,51.678-21.411c20.179,0,37.399,7.135,51.677,21.411c14.271,14.272,21.409,31.5,21.409,51.675V182.728 z"
/>
</g>
</svg>
<div
class="reveal-seed-phrase__reveal-button"
>
Click here to reveal secret words
</div>
</div>
</div>
</div>
<div
class="seed-phrase__side"
>
<div
class="first-time-flow__text-block"
>
Tips:
</div>
<div
class="first-time-flow__text-block"
>
Store this phrase in a password manager like 1Password.
</div>
<div
class="first-time-flow__text-block"
>
Write this phrase on a piece of paper and store in a secure location. If you want even more security, write it down on multiple pieces of paper and store each in 2 - 3 different locations.
</div>
<div
class="first-time-flow__text-block"
>
Memorize this phrase.
</div>
<div
class="first-time-flow__text-block"
>
<a
class="reveal-seed-phrase__export-text"
>
Download this Secret Recovery Phrase and keep it stored safely on an external encrypted hard drive or storage medium.
</a>
</div>
</div>
</div>
<div
class="reveal-seed-phrase__buttons"
>
<button
class="button btn--rounded btn-secondary first-time-flow__button"
role="button"
tabindex="0"
>
Remind me later
</button>
<button
class="button btn--rounded btn-primary first-time-flow__button"
disabled=""
role="button"
tabindex="0"
>
Next
</button>
</div>
</div>
</div>
`;