mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 21:37:42 -02:30
add testability
This commit is contained in:
@@ -17,6 +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}`}
|
||||||
select={{
|
select={{
|
||||||
rowIndex,
|
rowIndex,
|
||||||
isSelected,
|
isSelected,
|
||||||
|
|||||||
@@ -23,6 +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}`}
|
||||||
select={{
|
select={{
|
||||||
rowIndex,
|
rowIndex,
|
||||||
isSelected,
|
isSelected,
|
||||||
|
|||||||
Reference in New Issue
Block a user