Skip to content

Commit

Permalink
fix(qa): add e2e tags
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLeoB committed Dec 10, 2020
1 parent 92bf16e commit 501a919
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class PreviewSell extends PureComponent<InjectedFormProps<{}, Props> & Props> {
coinModel={coins[account.coin]}
/>
</Title>
<Value>
<Value data-e2e='sbTotalAmount'>
{coinToString({
value: formValues?.cryptoAmount,
unit: {
Expand All @@ -128,7 +128,7 @@ class PreviewSell extends PureComponent<InjectedFormProps<{}, Props> & Props> {
defaultMessage='Receive'
/>
</Title>
<Value>
<Value data-e2e='sbIncomingAmount'>
{this.props.incomingAmountR.cata({
Success: val => (
<>
Expand Down Expand Up @@ -159,7 +159,7 @@ class PreviewSell extends PureComponent<InjectedFormProps<{}, Props> & Props> {
defaultMessage='Exchange Rate'
/>
</Title>
<Value>
<Value data-e2e='sbExchangeRate'>
{this.props.quoteR.cata({
Success: val => (
<>
Expand Down Expand Up @@ -189,7 +189,7 @@ class PreviewSell extends PureComponent<InjectedFormProps<{}, Props> & Props> {
<Title>
<FormattedMessage id='copy.from' defaultMessage='From' />
</Title>
<Value>{account.label}</Value>
<Value data-e2e='sbOutgoingAccount'>{account.label}</Value>
</Row>
<Row>
<Title>
Expand All @@ -199,7 +199,7 @@ class PreviewSell extends PureComponent<InjectedFormProps<{}, Props> & Props> {
values={{ coin: coins[BASE].coinTicker }}
/>
</Title>
<Value>
<Value data-e2e='sbTransactionFee'>
{account.type === 'CUSTODIAL' ? (
<>
<>0 {account.baseCoin}</>
Expand Down

0 comments on commit 501a919

Please sign in to comment.