add testability

This commit is contained in:
Tiago 2021-05-04 10:57:10 -03:00
parent e2c8519b77
commit 510a546d8c
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ function HostListItem({ host, isSelected, onSelect, detailUrl, rowIndex }) {
return (
<Tr id={`host-row-${host.id}`}>
<Td
data-cy={`host-row-${host.id}`}
select={{
rowIndex,
isSelected,

View File

@ -23,6 +23,7 @@ function InventoryHostItem({
return (
<Tr id={`host-row-${host.id}`}>
<Td
data-cy={`host-row-${host.id}`}
select={{
rowIndex,
isSelected,