1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/pages/unlock-page/__snapshots__/unlock-page.test.js.snap
Olaf Tomalka 95c37e1ba3
feat: add yaml feature management (#18125)
* feat: add yaml feature management

Add yaml feature file per build type.
Also add method to parse yaml and set
enabled features env to true. The build
process will then replace any process.env[feature]
that exists on the config by its value

* chore: add example for desktop

* Added initial draft of build features

* [TMP] Sync between computers

* Is able to succesfully build stable extension with snaps feature

* Removing var context from builds.yml

* Add asssets to builds.yml

* Minor bug fixes and removing debug logs

* [WIP] Test changes

* Removed TODOs

* Fix regession bug

Also
* remove debug logs
* merge Variables.set and Variables.setMany with an overload

* Fix build, lint and a bunch of issues

* Update LavaMoat policies

* Re-add desktop build type

* Fix some tests

* Fix desktop build

* Define some env variables used by MV3

* Fix lint

* Fix remove-fenced-code tests

* Fix README typo

* Move new code

* Fix missing asset copy

* Move Jest env setup

* Fix path for test after rebase

* Fix code fences

* Fix fencing and LavaMoat policies

* Fix MMI code-fencing after rebase

* Fix MMI code fencing after merge

* Fix more MMI code fencing

---------

Co-authored-by: cryptotavares <joao.tavares@consensys.net>
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-25 16:32:51 +02:00

102 lines
2.5 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Unlock Page should match snapshot 1`] = `
<div>
<div
class="unlock-page__container"
>
<div
class="unlock-page"
data-testid="unlock-page"
>
<div
class="unlock-page__mascot-container"
>
<div
style="z-index: 0;"
>
<svg />
</div>
</div>
<h1
class="unlock-page__title"
>
Welcome back!
</h1>
<div>
The decentralized web awaits
</div>
<form
class="unlock-page__form"
>
<div
class="MuiFormControl-root MuiTextField-root MuiFormControl-fullWidth"
>
<label
class="MuiFormLabel-root MuiInputLabel-root TextField-materialLabel-1 MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink Mui-focused Mui-focused TextField-materialFocused-2"
data-shrink="true"
for="password"
id="password-label"
>
Password
</label>
<div
class="MuiInputBase-root MuiInput-root MuiInput-underline TextField-materialUnderline-3 MuiInputBase-fullWidth MuiInput-fullWidth Mui-focused Mui-focused MuiInputBase-formControl MuiInput-formControl"
>
<input
aria-invalid="false"
autocomplete="current-password"
class="MuiInputBase-input MuiInput-input"
data-testid="unlock-password"
dir="auto"
id="password"
type="password"
value=""
/>
</div>
</div>
</form>
<button
class="button btn--rounded btn-default"
data-testid="unlock-submit"
disabled=""
role="button"
style="margin-top: 20px; height: 60px; font-weight: 400; box-shadow: none; border-radius: 100px;"
tabindex="0"
variant="contained"
>
Unlock
</button>
<div
class="unlock-page__links"
>
<a
class="button btn-link unlock-page__link"
role="button"
tabindex="0"
>
Forgot password?
</a>
</div>
<div
class="unlock-page__support"
>
<span>
Need help? Contact
<a
href="https://support.metamask.io"
rel="noopener noreferrer"
target="_blank"
>
MetaMask support
</a>
</span>
</div>
</div>
</div>
</div>
`;