mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-04 23:14:56 +01:00
0cf7455e18
* addresses an issue found in 10.6.0 QA Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * update test cases. Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Fixes unit test texts to pass Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
137 lines
2.8 KiB
Plaintext
137 lines
2.8 KiB
Plaintext
// 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>
|
|
`;
|