1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 06:07:06 +01:00
metamask-extension/ui/components/multichain/connected-site-menu/__snapshots__/connected-site-menu.test.js.snap
2023-07-14 13:05:00 -07:00

113 lines
3.9 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Connected Site Menu should render the site menu in connected state 1`] = `
<div>
<button
class="mm-box multichain-connected-site-menu mm-box--display-flex mm-box--justify-content-center mm-box--align-items-center mm-box--background-color-background-default"
data-testid="connection-menu"
>
<div>
<div
aria-describedby="tippy-tooltip-1"
class=""
data-original-title="Account 2 connected"
data-tooltipped=""
style="display: inline;"
tabindex="0"
>
<div
class="mm-box mm-badge-wrapper mm-box--display-inline-block"
>
<span
class="box mm-icon mm-icon--size-sm box--display-inline-block box--flex-direction-row box--color-icon-default"
style="mask-image: url('./images/icons/global.svg');"
/>
<div
class="mm-box mm-badge-wrapper__badge-container"
style="bottom: 2px; right: -4px; z-index: 1;"
>
<div
class="mm-box multichain-connected-site-menu__badge mm-box--background-color-success-default mm-box--rounded-full mm-box--border-color-background-default mm-box--border-width-3 box--border-style-solid"
/>
</div>
</div>
</div>
</div>
</button>
</div>
`;
exports[`Connected Site Menu should render the site menu in not connected state 1`] = `
<div>
<button
class="mm-box multichain-connected-site-menu mm-box--display-flex mm-box--justify-content-center mm-box--align-items-center mm-box--background-color-background-default"
data-testid="connection-menu"
>
<div>
<div
aria-describedby="tippy-tooltip-2"
class=""
data-original-title="No accounts connected"
data-tooltipped=""
style="display: inline;"
tabindex="0"
>
<div
class="mm-box mm-badge-wrapper mm-box--display-inline-block"
>
<span
class="box mm-icon mm-icon--size-sm box--display-inline-block box--flex-direction-row box--color-icon-default"
style="mask-image: url('./images/icons/global.svg');"
/>
<div
class="mm-box mm-badge-wrapper__badge-container"
style="bottom: 2px; right: -4px; z-index: 1;"
>
<div
class="mm-box multichain-connected-site-menu__badge mm-box--background-color-icon-alternative mm-box--rounded-full mm-box--border-color-background-default mm-box--border-width-3 box--border-style-solid"
/>
</div>
</div>
</div>
</div>
</button>
</div>
`;
exports[`Connected Site Menu should render the site menu in not connected to current account state 1`] = `
<div>
<button
class="mm-box multichain-connected-site-menu mm-box--display-flex mm-box--justify-content-center mm-box--align-items-center mm-box--background-color-background-default"
data-testid="connection-menu"
>
<div>
<div
aria-describedby="tippy-tooltip-3"
class=""
data-original-title="Account 2 not connected"
data-tooltipped=""
style="display: inline;"
tabindex="0"
>
<div
class="mm-box mm-badge-wrapper mm-box--display-inline-block"
>
<span
class="box mm-icon mm-icon--size-sm box--display-inline-block box--flex-direction-row box--color-icon-default"
style="mask-image: url('./images/icons/global.svg');"
/>
<div
class="mm-box mm-badge-wrapper__badge-container"
style="bottom: 4px; right: -1px; z-index: 1;"
>
<div
class="mm-box multichain-connected-site-menu__badge not-connected mm-box--background-color-background-default mm-box--rounded-full mm-box--border-color-success-default mm-box--border-width-2 box--border-style-solid"
/>
</div>
</div>
</div>
</div>
</button>
</div>
`;