Skip to content

Commit

Permalink
fix beats pages test-subj attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
klacabane committed Oct 13, 2021
1 parent 38f949a commit 1c5f2b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ export const BeatsTemplate: React.FC<BeatsTemplateProps> = ({ instance, ...props
defaultMessage: 'Overview',
}),
route: '/beats',
testSubj: 'beatsOverviewPage',
});
tabs.push({
id: 'instances',
label: i18n.translate('xpack.monitoring.beatsNavigation.instancesLinkText', {
defaultMessage: 'Instances',
}),
route: '/beats/beats',
testSubj: 'beatsListingPage',
});
} else {
tabs.push({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ export const BeatsInstancesPage: React.FC<ComponentProps> = ({ clusters }) => {
title={title}
pageTitle={pageTitle}
getPageData={getPageData}
data-test-subj="beatsListingPage"
>
<div data-test-subj="monitoringBeatsInstancesApp">
<SetupModeRenderer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@ export const BeatsOverviewPage: React.FC<ComponentProps> = ({ clusters }) => {
title={title}
pageTitle={pageTitle}
getPageData={getPageData}
data-test-subj="beatsOverviewPage"
>
<div data-test-subj="beatsOverviewPage">{renderOverview(data)}</div>
<div>{renderOverview(data)}</div>
</BeatsTemplate>
);
};

0 comments on commit 1c5f2b3

Please sign in to comment.