mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
486ade85f3
* fixed connect mmi button several issues * Fixed snapshot * Improved multiple things * running yarn dedupe * Update LavaMoat policies * For some reason, this.mmiConfigurationController.store.mmiConfiguration?.portfolio sometimes is undefined, added [] if null. Moved the || {} outside the find method * minor improvements --------- Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
99 lines
3.2 KiB
Plaintext
99 lines
3.2 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`CustodyPage renders CustodyPage 1`] = `
|
|
<div>
|
|
<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>
|
|
</div>
|
|
`;
|
|
|
|
exports[`CustodyPage renders CustodyPage 2`] = `
|
|
<div>
|
|
<div
|
|
class="mm-box page-container"
|
|
>
|
|
|
|
|
|
<div
|
|
class="mm-box page-container__content mm-box--padding-4 mm-box--display-flex mm-box--flex-direction-column mm-box--width-full"
|
|
>
|
|
<div
|
|
class="mm-box mm-box--margin-top-4 mm-box--margin-bottom-4 mm-box--display-flex mm-box--align-items-center"
|
|
>
|
|
<button
|
|
aria-label="Back"
|
|
class="mm-box mm-button-icon mm-button-icon--size-sm mm-box--display-flex mm-box--justify-content-center mm-box--align-items-center mm-box--color-icon-default mm-box--background-color-transparent mm-box--rounded-lg"
|
|
>
|
|
<span
|
|
class="mm-box mm-icon mm-icon--size-sm mm-box--display-inline-block mm-box--color-inherit"
|
|
style="mask-image: url('./images/icons/arrow-left.svg');"
|
|
/>
|
|
</button>
|
|
<p
|
|
class="mm-box mm-text mm-text--body-md mm-box--color-text-default"
|
|
>
|
|
Back
|
|
</p>
|
|
</div>
|
|
<h4
|
|
class="mm-box mm-text mm-text--body-lg-medium mm-box--margin-top-4 mm-box--color-text-default"
|
|
>
|
|
Custodial Accounts
|
|
</h4>
|
|
<h6
|
|
class="mm-box mm-text mm-text--body-md mm-box--margin-top-2 mm-box--margin-bottom-5 mm-box--color-text-default"
|
|
>
|
|
Please choose the custodian you want to connect in order to add or refresh a token.
|
|
</h6>
|
|
<div
|
|
class="mm-box"
|
|
>
|
|
<ul
|
|
width="full"
|
|
>
|
|
<div
|
|
class="mm-box mm-box--margin-bottom-4 mm-box--padding-4 mm-box--display-flex mm-box--flex-direction-row mm-box--justify-content-space-between mm-box--align-items-center mm-box--rounded-sm mm-box--border-color-border-default box--border-style-solid box--border-width-1"
|
|
>
|
|
<div
|
|
class="mm-box mm-box--display-flex mm-box--align-items-center"
|
|
>
|
|
<img
|
|
alt="Saturn Custody"
|
|
height="32"
|
|
src="https://saturn-custody-ui.dev.metamask-institutional.io/saturn.svg"
|
|
width="32"
|
|
/>
|
|
<p
|
|
class="mm-box mm-text mm-text--body-md mm-box--margin-left-2 mm-box--color-text-default"
|
|
>
|
|
Saturn Custody
|
|
</p>
|
|
</div>
|
|
<button
|
|
class="mm-box mm-text mm-button-base mm-button-base--size-sm mm-button-primary mm-text--body-md-medium mm-box--padding-0 mm-box--padding-right-4 mm-box--padding-left-4 mm-box--display-inline-flex mm-box--justify-content-center mm-box--align-items-center mm-box--color-primary-inverse mm-box--background-color-primary-default mm-box--rounded-pill"
|
|
data-testid="custody-connect-button"
|
|
>
|
|
Select
|
|
</button>
|
|
</div>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`CustodyPage renders CustodyPage 3`] = `<div />`;
|