diff --git a/awx/ui/src/screens/TopologyView/MeshGraph.js b/awx/ui/src/screens/TopologyView/MeshGraph.js index 3e949e6d05..d3114df877 100644 --- a/awx/ui/src/screens/TopologyView/MeshGraph.js +++ b/awx/ui/src/screens/TopologyView/MeshGraph.js @@ -105,7 +105,7 @@ function MeshGraph({ data, showLegend, zoom }) { .enter() .append('line') .attr('class', (_, i) => `link-${i}`) - .attr('data-cy', (d) => `${d.source}-${d.target}`) + .attr('data-cy', (d) => `${d.source.hostname}-${d.target.hostname}`) .style('fill', 'none') .style('stroke', '#ccc') .style('stroke-width', '2px')