diff --git a/client/src/components/ui/ItCheckbox.vue b/client/src/components/ui/ItCheckbox.vue index ffce78d9..66fb71b2 100644 --- a/client/src/components/ui/ItCheckbox.vue +++ b/client/src/components/ui/ItCheckbox.vue @@ -31,12 +31,14 @@ const input = (e: Event) => { :class="{ 'opacity-50': disabled, 'cursor-not-allowed': disabled, + 'cy-checked': checkboxItem.checked, + 'cy-unchecked': !checkboxItem.checked, }" + :data-cy="`it-checkbox-${checkboxItem.value}`" class="inline-flex cursor-pointer" - :data-cy="`it-checkbox-clicktarget-${checkboxItem.value}`" >