1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-12 04:37:13 +01:00
metamask-extension/ui/pages/swaps/slippage-buttons/__snapshots__/slippage-buttons.test.js.snap

96 lines
2.2 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`SlippageButtons renders the component with initial props 1`] = `
<button
class="slippage-buttons__header slippage-buttons__header--open"
>
<div
class="slippage-buttons__header-text"
>
Advanced options
</div>
<i
class="fa fa-angle-up"
/>
</button>
`;
exports[`SlippageButtons renders the component with initial props 2`] = `
<div
class="button-group slippage-buttons__button-group radio-button-group"
role="radiogroup"
>
<button
aria-checked="false"
class="button-group__button radio-button"
data-testid="button-group__button0"
role="radio"
>
2%
</button>
<button
aria-checked="true"
class="button-group__button radio-button button-group__button--active radio-button--active"
data-testid="button-group__button1"
role="radio"
>
3%
</button>
<button
aria-checked="false"
class="button-group__button slippage-buttons__button-group-custom-button radio-button"
data-testid="button-group__button2"
role="radio"
>
custom
</button>
</div>
`;
exports[`SlippageButtons renders the component with the smart transaction opt-in button available, opt into STX 1`] = `
<button
class="slippage-buttons__header slippage-buttons__header--open"
>
<div
class="slippage-buttons__header-text"
>
Advanced options
</div>
<i
class="fa fa-angle-up"
/>
</button>
`;
exports[`SlippageButtons renders the component with the smart transaction opt-in button available, opt into STX 2`] = `
<div
class="button-group slippage-buttons__button-group radio-button-group"
role="radiogroup"
>
<button
aria-checked="false"
class="button-group__button radio-button"
data-testid="button-group__button0"
role="radio"
>
2%
</button>
<button
aria-checked="true"
class="button-group__button radio-button button-group__button--active radio-button--active"
data-testid="button-group__button1"
role="radio"
>
3%
</button>
<button
aria-checked="false"
class="button-group__button slippage-buttons__button-group-custom-button radio-button"
data-testid="button-group__button2"
role="radio"
>
custom
</button>
</div>
`;