Skip to content

Commit

Permalink
test: add test ID
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Sep 25, 2023
1 parent d74a0b9 commit 3ee5397
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,12 @@ const PageBuilderBlockCategoriesDataList = ({
{canDelete(item?.createdBy?.id) && (
<ListItemMeta>
<ListActions>
<DeleteIcon onClick={() => deleteItem(item)} />
<DeleteIcon
onClick={() => deleteItem(item)}
data-testid={
"pb-block-categories-list-delete-block-category-btn"
}
/>
</ListActions>
</ListItemMeta>
)}
Expand Down

0 comments on commit 3ee5397

Please sign in to comment.