Skip to content

Commit

Permalink
feat(simple buy): added proper e2e data attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
milan-bc authored and Philip London committed Sep 28, 2020
1 parent a43c30b commit 20566f7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ const CryptoSelector: React.FC<InjectedFormProps<{}, Props> &
role='button'
selected={orderType === 'BUY'}
onClick={() => setOrderType('BUY')}
data-e2e='sbBuyButton'
>
<FormattedMessage
id='buttons.buy_crypto'
Expand All @@ -104,6 +105,7 @@ const CryptoSelector: React.FC<InjectedFormProps<{}, Props> &
role='button'
selected={orderType === 'SELL'}
onClick={() => setOrderType('SELL')}
data-e2e='sbSellButton'
>
<FormattedMessage
id='buttons.sell_crypto'
Expand Down

0 comments on commit 20566f7

Please sign in to comment.