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