change testability locator

This commit is contained in:
Tiago
2021-05-04 14:26:55 -03:00
parent 2cfdf08500
commit 7951c2f014
5 changed files with 5 additions and 3 deletions

View File

@@ -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,

View File

@@ -24,6 +24,7 @@ function InventoryGroupItem({
return (
<Tr id={`group-row-${group.id}`}>
<Td
data-cy={labelId}
select={{
rowIndex,
isSelected,

View File

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

View File

@@ -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,

View File

@@ -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,