Skip to content

Commit

Permalink
update selector
Browse files Browse the repository at this point in the history
  • Loading branch information
angorayc committed Aug 26, 2020
1 parent 5649d30 commit 4316d3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const TOGGLE_TIMELINE_EXPAND_EVENT = '[data-test-subj="expand-event"]';

export const TIMELINES_TABLE = '[data-test-subj="timelines-table"]';

export const BULK_ACTIONS = '.siemUtilityBar__action button';
export const BULK_ACTIONS = '[data-test-subj="utility-bar-action-button"]';

export const EXPORT_TIMELINE_ACTION = '[data-test-subj="export-timeline-action"]';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import { EuiIcon, EuiLink, IconSize, IconType } from '@elastic/eui';
import { LinkAnchorProps } from '@elastic/eui/src/components/link/link';
import React from 'react';
import React, { ReactNode } from 'react';
import styled, { css } from 'styled-components';

interface LinkProps {
Expand Down Expand Up @@ -47,7 +47,7 @@ export const Link = styled(({ iconSide, children, ...rest }) => (
Link.displayName = 'Link';

export interface LinkIconProps extends LinkProps {
children: string;
children: string | ReactNode;
iconSize?: IconSize;
iconType: IconType;
dataTestSubj?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export const OpenTimeline = React.memo<OpenTimelineProps>(
popoverContent={getBatchItemsPopoverContent}
data-test-subj="utility-bar-action"
>
{i18n.BATCH_ACTIONS}
<span data-test-subj="utility-bar-action-button">{i18n.BATCH_ACTIONS}</span>
</UtilityBarAction>
</>
)}
Expand Down

0 comments on commit 4316d3f

Please sign in to comment.