[Visual testing]: Add visual tests for KCheckbox #925
Labels
Component: KCheckbox
help wanted
Open source contributors welcome
type: task
Something that needs to be done
Visual testing
🌱 Are you new to the codebase? Welcome! Please see the contributing guidelines.
Context
We recently introduced a new visual testing system in KDS to prevent visual regressions and ensure UI consistency, and we want to start populating our KDS components with visual tests.
If you are not familiar yet with our visual testing system. Please refer to our Visual Testing Guide. You can also check the existing tests for KButton as an example.
Additionally, see the KCheckbox documentation for reference.
Desired behavior
KCheckbox
should have visual tests to cover at least these snapshots:Note
Since we currently dont have a test file for KCheckbox. Please move the current
KCheckbox.vue
file to be a folderKCheckbox/index.vue
and create the test file inKCheckbox/__tests__/KCheckbox.spec.js
Acceptance criteria
KCheckbox
.The text was updated successfully, but these errors were encountered: