You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
136 lines
2.8 KiB
136 lines
2.8 KiB
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`GasCustomizationModalComponent renders the component with initial props 1`] = `
|
|
<div
|
|
class="page-container__header page-container__header--no-padding-bottom"
|
|
data-testid="page-container__header"
|
|
>
|
|
<div
|
|
class="page-container__title"
|
|
>
|
|
Customize Gas
|
|
</div>
|
|
<div
|
|
class="page-container__subtitle"
|
|
>
|
|
Increasing fee may decrease processing times, but it is not guaranteed.
|
|
</div>
|
|
<a
|
|
class="button btn-link page-container__header-close-text"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Close
|
|
</a>
|
|
<ul
|
|
class="page-container__tabs"
|
|
>
|
|
<li
|
|
class="tab page-container__tab tab--active"
|
|
>
|
|
<button>
|
|
Basic
|
|
</button>
|
|
</li>
|
|
<li
|
|
class="tab page-container__tab"
|
|
>
|
|
<button>
|
|
Advanced
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
`;
|
|
|
|
exports[`GasCustomizationModalComponent renders the component with initial props 2`] = `
|
|
<button
|
|
aria-checked="false"
|
|
class="button-group__button"
|
|
data-testid="button-group__button0"
|
|
>
|
|
<div>
|
|
<div
|
|
class="gas-price-button-group__label"
|
|
>
|
|
Fast
|
|
</div>
|
|
<div
|
|
class="gas-price-button-group__time-estimate"
|
|
>
|
|
~ 1 min 0 sec
|
|
</div>
|
|
<div
|
|
class="gas-price-button-group__primary-currency"
|
|
>
|
|
$0.52
|
|
</div>
|
|
<div
|
|
class="gas-price-button-group__secondary-currency"
|
|
>
|
|
0.0048 ETH
|
|
</div>
|
|
<div
|
|
class="button-check-wrapper"
|
|
>
|
|
<i
|
|
class="fa fa-check fa-sm"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</button>
|
|
`;
|
|
|
|
exports[`GasCustomizationModalComponent renders the component with initial props 3`] = `
|
|
<div
|
|
class="gas-modal-content__info-row__send-info"
|
|
data-testid="gas-modal-content__info-row__send-info"
|
|
>
|
|
<span
|
|
class="gas-modal-content__info-row__send-info__label"
|
|
>
|
|
Send Amount
|
|
</span>
|
|
<span
|
|
class="gas-modal-content__info-row__send-info__value"
|
|
>
|
|
mockSendAmount
|
|
</span>
|
|
</div>
|
|
`;
|
|
|
|
exports[`GasCustomizationModalComponent renders the component with initial props 4`] = `
|
|
<div
|
|
class="gas-modal-content__info-row__transaction-info"
|
|
data-testid="gas-modal-content__info-row__transaction-info"
|
|
>
|
|
<span
|
|
class="gas-modal-content__info-row__transaction-info__label"
|
|
>
|
|
Transaction fee
|
|
</span>
|
|
<span
|
|
class="gas-modal-content__info-row__transaction-info__value"
|
|
>
|
|
mockTransactionFee
|
|
</span>
|
|
</div>
|
|
`;
|
|
|
|
exports[`GasCustomizationModalComponent renders the component with initial props 5`] = `
|
|
<div
|
|
class="gas-modal-content__info-row__total-info"
|
|
data-testid="gas-modal-content__info-row__total-info"
|
|
>
|
|
<span
|
|
class="gas-modal-content__info-row__total-info__label"
|
|
>
|
|
New Total
|
|
</span>
|
|
<span
|
|
class="gas-modal-content__info-row__total-info__value"
|
|
>
|
|
mockNewTotalEth
|
|
</span>
|
|
</div>
|
|
`;
|
|
|