Skip to content

Commit

Permalink
Merge pull request #1588 from blockchain/new-data-e2e-tags
Browse files Browse the repository at this point in the history
data-e2e tags for Running Low messages
  • Loading branch information
plondon committed May 3, 2019
2 parents 6fcd244 + 185ca96 commit 4d5fa1b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const getAlertContent = (message, data = undefined) => {
<Icon size='24px' name='info' color='orange' />
</IconColumn>
<ContentColumn>
<Text size='14px' weight='400'>
<Text size='14px' weight='400' data-e2e='runningLowMessage'>
<FormattedMessage
id='components.alerts.loweth.header'
defaultMessage='Running Low!'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ const LowBalanceWarning = props => {
lt(totalEthValue - totalSendValue, 1) && (
<WarningWrapper>
<WarningLeftColumn>
<Text size='14px' weight={500} color='orange'>
<Text
size='14px'
weight={500}
color='orange'
data-e2e='runningLowMessage'
>
<FormattedMessage
id='modals.sendeth.lowbalancewarning.title'
defaultMessage='Running low!'
Expand Down

0 comments on commit 4d5fa1b

Please sign in to comment.