mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
47fe542273
* Sending showCustodyConfirmLink as a prop and fixing other issues * Upgraded MMI extension monrepo and trying to fix the issue * prevents deeplink from closing * Fixed styles of Custody view and changed the place of it * Fixed CI issues * fixing eslint issues * Update LavaMoat policies * fixing tests * Fixed test * updated snapshots * Improving IRT flow * Fixing everything * Finish fixing all issues * Fixed institutional entity done page styles * Fixing boxes * Fixed issue with checkbox * Fixed tests and styles * Removed duplicated lodash * updated snapshot * Fixing tests * Removed unused test * Fixed snapshot * Fixed snapshot --------- Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net> Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
112 lines
3.5 KiB
Plaintext
112 lines
3.5 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Interactive Replacement Token Page should reject if there are errors 1`] = `
|
|
<div>
|
|
<div
|
|
class="mm-box page-container"
|
|
data-testid="interactive-replacement-token"
|
|
>
|
|
<div
|
|
class="mm-box page-container__header false"
|
|
>
|
|
<div
|
|
class="mm-box page-container__title"
|
|
>
|
|
Replace custodian token
|
|
|
|
|
|
</div>
|
|
<div
|
|
class="mm-box page-container__subtitle"
|
|
>
|
|
This is will replace the custodian token for the following address:
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="mm-box page-container__content"
|
|
>
|
|
<div
|
|
class="mm-box interactive-replacement-token-page mm-box--margin-right-7 mm-box--margin-left-7 mm-box--display-flex mm-box--color-text-alternative"
|
|
overflowwrap="break-word"
|
|
>
|
|
<div
|
|
class="mm-box mm-box--display-flex mm-box--flex-direction-column mm-box--width-full"
|
|
data-testid="interactive-replacement-token-page"
|
|
/>
|
|
</div>
|
|
</div>
|
|
<footer
|
|
class="mm-box page-container__footer mm-box--padding-4"
|
|
>
|
|
<div
|
|
class="pulse-loader"
|
|
>
|
|
<div
|
|
class="pulse-loader__loading-dot-one"
|
|
/>
|
|
<div
|
|
class="pulse-loader__loading-dot-two"
|
|
/>
|
|
<div
|
|
class="pulse-loader__loading-dot-three"
|
|
/>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`Interactive Replacement Token Page should reject if there are errors 2`] = `
|
|
<div>
|
|
<div
|
|
class="mm-box page-container"
|
|
data-testid="interactive-replacement-token"
|
|
>
|
|
<div
|
|
class="mm-box page-container__header error"
|
|
>
|
|
<div
|
|
class="mm-box page-container__title"
|
|
>
|
|
Replace custodian token
|
|
|
|
failed
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="mm-box page-container__content"
|
|
>
|
|
<div
|
|
class="mm-box interactive-replacement-token-page mm-box--margin-right-7 mm-box--margin-left-7 mm-box--display-flex mm-box--color-text-alternative"
|
|
overflowwrap="break-word"
|
|
>
|
|
<p
|
|
class="box mm-text mm-text--body-md box--flex-direction-row box--color-text-default"
|
|
data-testid="connect-error-message"
|
|
>
|
|
Please go to displayName and click the 'Connect to MMI' button within their user interface to connect your accounts to MMI again.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<footer
|
|
class="mm-box page-container__footer mm-box--padding-4"
|
|
>
|
|
<div
|
|
class="mm-box mm-box--display-flex mm-box--gap-4"
|
|
>
|
|
<button
|
|
class="box mm-text mm-button-base mm-button-base--size-lg mm-button-base--block mm-button-secondary mm-text--body-md-medium box--padding-right-4 box--padding-left-4 box--display-inline-flex box--flex-direction-row box--justify-content-center box--align-items-center box--color-primary-default box--background-color-transparent box--rounded-pill box--border-color-primary-default box--border-style-solid box--border-width-1"
|
|
>
|
|
Reject
|
|
</button>
|
|
<button
|
|
class="box mm-text mm-button-base mm-button-base--size-lg mm-button-base--block mm-button-primary mm-text--body-md-medium box--padding-right-4 box--padding-left-4 box--display-inline-flex box--flex-direction-row box--justify-content-center box--align-items-center box--color-primary-inverse box--background-color-primary-default box--rounded-pill"
|
|
>
|
|
displayName
|
|
</button>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
`;
|