Skip to content

Commit

Permalink
Merge pull request #1504 from blockchain/new-data-e2e-tags
Browse files Browse the repository at this point in the history
new data-e2e tags for Security Center - Activity Logging
  • Loading branch information
schnogz committed Mar 7, 2019
2 parents c94799f + 5a3233b commit 72aaa37
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ const ActivityLogging = props => {
id='scenes.securitycenter.advanced.activitylogging.title'
defaultMessage='Activity Logging'
/>
<SettingStatus active={logging}>
<SettingStatus
active={logging}
data-e2e={`${logging ? 'enabled' : 'disabled'}ActivityLoggingState`}
>
{logging ? (
<FormattedMessage
id='scenes.securitycenter.advanced.activitylogging.enabled'
Expand All @@ -45,7 +48,11 @@ const ActivityLogging = props => {
</SettingSummary>
<SettingComponent>
<SettingWrapper>
<Button nature='primary' onClick={handleClick}>
<Button
nature='primary'
onClick={handleClick}
data-e2e={`${logging ? 'disable' : 'enable'}ActivityLoggingButton`}
>
{logging ? (
<FormattedMessage
id='scenes.securitycenter.advanced.activitylogging.disable'
Expand Down

0 comments on commit 72aaa37

Please sign in to comment.