Skip to content

Commit

Permalink
fix(interest): add e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLeoB committed Jun 25, 2020
1 parent 6de14d6 commit 6475dfe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ const AccountSummary: React.FC<Props> = props => {
name='close'
size='20px'
color='grey600'
data-e2e='closeInterest'
/>
</TopText>
<Row style={{ paddingBottom: '8px' }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,15 @@ const DepositForm: React.FC<InjectedFormProps<{}, Props> & Props> = props => {
<ToggleFiatText
displayCoin={displayCoin}
onClick={() => handleDisplayToggle(false)}
data-e2e='toggleFiat'
>
{walletCurrency}
</ToggleFiatText>
|{' '}
<ToggleCoinText
displayCoin={displayCoin}
onClick={() => handleDisplayToggle(true)}
data-e2e='toggleCoin'
>
{coinTicker}
</ToggleCoinText>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,13 +260,15 @@ const WithdrawalForm: React.FC<InjectedFormProps<{}, Props> &
<ToggleFiatText
displayCoin={displayCoin}
onClick={() => handleDisplayToggle(false)}
data-e2e='toggleFiat'
>
{walletCurrency}
</ToggleFiatText>
|{' '}
<ToggleCoinText
displayCoin={displayCoin}
onClick={() => handleDisplayToggle(true)}
data-e2e='toggleCoin'
>
{coinTicker}
</ToggleCoinText>
Expand Down

0 comments on commit 6475dfe

Please sign in to comment.