mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
07abc53cce
* BannerBase to TS * snapshot updates * more snapshot updates * addressing type definition error * updating eth-sign-modal snapshot * Updates to stories, types and adding data-testid * Updating snapshots * updating snapshot of blockaid-banner-alert and adding unit test for childrenWrapperProps * BannerBase updates to stories, adding locale for close button, removing static data-testid in favor of using it at the instance, updating snapshots associated with those changes * Removing incorrect arg from storybook file * Updating html element in security provider e2e test to match BannerBase. Also updating snapshot of ConfirmTransaction page * Fixing e2e tests --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
53 lines
2.0 KiB
Plaintext
53 lines
2.0 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`LedgerInstructionField Component rendering should render properly with data instruction 1`] = `
|
|
<div>
|
|
<div>
|
|
<div
|
|
class="confirm-detail-row"
|
|
>
|
|
<div
|
|
class="mm-box mm-banner-base mm-banner-alert mm-banner-alert--severity-info mm-box--padding-3 mm-box--padding-left-2 mm-box--display-flex mm-box--gap-2 mm-box--background-color-primary-muted mm-box--rounded-sm"
|
|
>
|
|
<span
|
|
class="mm-box mm-icon mm-icon--size-lg mm-box--display-inline-block mm-box--color-primary-default"
|
|
style="mask-image: url('./images/icons/info.svg');"
|
|
/>
|
|
<div>
|
|
<div
|
|
class="ledger-live-dialog"
|
|
>
|
|
<h6
|
|
class="mm-box mm-text mm-text--body-md mm-box--color-text-default"
|
|
>
|
|
Prior to clicking confirm:
|
|
</h6>
|
|
<h6
|
|
class="mm-box mm-text mm-text--body-md mm-box--color-text-default"
|
|
>
|
|
• Be sure your Ledger is plugged in and to select the Ethereum app.
|
|
</h6>
|
|
<h6
|
|
class="mm-box mm-text mm-text--body-md mm-box--color-text-default"
|
|
>
|
|
• Enable "smart contract data" or "blind signing" on your Ledger device.
|
|
</h6>
|
|
<h6
|
|
class="mm-box mm-text mm-text--body-md mm-box--color-warning-default"
|
|
>
|
|
<span>
|
|
<button
|
|
class="mm-box mm-text mm-button-base mm-button-link mm-button-link--size-auto mm-text--body-md-medium mm-text--text-align-left mm-box--padding-0 mm-box--padding-right-0 mm-box--padding-left-0 mm-box--display-inline-flex mm-box--justify-content-center mm-box--align-items-center mm-box--color-primary-default mm-box--background-color-transparent"
|
|
>
|
|
Go to full screen to connect your Ledger.
|
|
</button>
|
|
</span>
|
|
</h6>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|