mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
change testability locator
This commit is contained in:
@@ -17,7 +17,7 @@ function HostListItem({ host, isSelected, onSelect, detailUrl, rowIndex }) {
|
||||
return (
|
||||
<Tr id={`host-row-${host.id}`}>
|
||||
<Td
|
||||
data-cy={`host-row-${host.id}`}
|
||||
data-cy={labelId}
|
||||
select={{
|
||||
rowIndex,
|
||||
isSelected,
|
||||
|
||||
@@ -24,6 +24,7 @@ function InventoryGroupItem({
|
||||
return (
|
||||
<Tr id={`group-row-${group.id}`}>
|
||||
<Td
|
||||
data-cy={labelId}
|
||||
select={{
|
||||
rowIndex,
|
||||
isSelected,
|
||||
|
||||
@@ -23,6 +23,7 @@ function InventoryHostGroupItem({
|
||||
return (
|
||||
<Tr id={`inventory-host-group-row-${group.id}`}>
|
||||
<Td
|
||||
data-cy={labelId}
|
||||
select={{
|
||||
rowIndex,
|
||||
isSelected,
|
||||
|
||||
@@ -23,7 +23,7 @@ function InventoryHostItem({
|
||||
return (
|
||||
<Tr id={`host-row-${host.id}`}>
|
||||
<Td
|
||||
data-cy={`host-row-${host.id}`}
|
||||
data-cy={labelId}
|
||||
select={{
|
||||
rowIndex,
|
||||
isSelected,
|
||||
|
||||
@@ -52,7 +52,7 @@ function InventorySourceListItem({
|
||||
<>
|
||||
<Tr id={`source-row-${source.id}`}>
|
||||
<Td
|
||||
data-cy={`source-row-${source.id}`}
|
||||
data-cy={`check-action-${source.id}`}
|
||||
select={{
|
||||
rowIndex,
|
||||
isSelected,
|
||||
|
||||
Reference in New Issue
Block a user