Skip to content

Commit

Permalink
Fix test subjects for overview page
Browse files Browse the repository at this point in the history
  • Loading branch information
klacabane committed Oct 14, 2021
1 parent 628c737 commit 744e5de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const ClusterOverview: React.FC<{}> = () => {
{
id: 'clusterName',
label: clusters[0].cluster_name,
testSubj: 'clusterName',
testSubj: 'overviewTabsclusterName',
route: '/overview',
},
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ <h1 class="euiTitle euiTitle--xsmall">{{pageTitle || monitoringMain.instance}}</
</div>

<div ng-if="monitoringMain.inOverview" class="euiTabs" role="navigation">
<a class="euiTab" data-test-subj="clusterName">{{ pageData.cluster_name }}</a>
<a class="euiTab" data-test-subj="overviewTabsclusterName">{{ pageData.cluster_name }}</a>
</div>

<div ng-if="monitoringMain.inAlerts" class="euiTabs" role="navigation">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ export function MonitoringClusterOverviewProvider({ getService }) {
const retry = getService('retry');

const SUBJ_CLUSTER_ALERTS = `clusterAlertsContainer`;
const SUBJ_CLUSTER_OVERVIEW = 'clusterOverviewContainer';
const SUBJ_CLUSTER_NAME = `${SUBJ_CLUSTER_OVERVIEW} > clusterName`;
const SUBJ_CLUSTER_NAME = `overviewTabsclusterName`;

const SUBJ_ES_PANEL = `clusterItemContainerElasticsearch`;
const SUBJ_ES_STATUS = `${SUBJ_ES_PANEL} > statusIcon`;
Expand Down

0 comments on commit 744e5de

Please sign in to comment.