diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/kpis/hosts_tile.tsx b/x-pack/plugins/infra/public/pages/metrics/hosts/components/kpis/hosts_tile.tsx index bcffad2a67a32..64839fa222573 100644 --- a/x-pack/plugins/infra/public/pages/metrics/hosts/components/kpis/hosts_tile.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/hosts/components/kpis/hosts_tile.tsx @@ -20,7 +20,7 @@ const HOSTS_CHART: Omit = { toolTip: i18n.translate('xpack.infra.hostsViewPage.metricTrend.hostCount.tooltip', { defaultMessage: 'The number of hosts returned by your current search criteria.', }), - ['data-test-subj']: 'hostsViewKPIGridHostsCountTile', + ['data-test-subj']: 'hostsViewKPI-hostsCount', }; export const HostsTile = () => { diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/kpis/tile.tsx b/x-pack/plugins/infra/public/pages/metrics/hosts/components/kpis/tile.tsx index 842dc94198df3..2028f6265159e 100644 --- a/x-pack/plugins/infra/public/pages/metrics/hosts/components/kpis/tile.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/hosts/components/kpis/tile.tsx @@ -119,7 +119,7 @@ export const Tile = ({ hasShadow={false} paddingSize={error ? 'm' : 'none'} style={{ minHeight: MIN_HEIGHT }} - data-test-subj={`hostsViewKPIGrid${type}Tile`} + data-test-subj={`hostsViewKPI-${type}`} > {error ? (