expunge-assist
expunge-assist copied to clipboard
Checkbox Testing
Dependency
- [x] #1267
Overview
Testing is an important part of the development process that has been ignored in the Expunge Assist process thus far. To create a better-protected codebase, we want to retroactively implement tests.
Action Items
- [ ] Checkbox sets up correctly
- [ ] Checkbox renders
- [ ] renders correct initial state
- [ ] Checkbox functions correctly
- [ ] clicking checkbox changes state
- [ ] clicking checkbox does NOT change state of other checkboxes (multi-select is possible)
- [ ] Checkbox passes props correctly
- [ ] id passes correctly
- [ ] Checkbox is accessible
- [ ] using spacebar changes state
- [ ] checkbox is focus-able
- [ ] does not trap focus (pressing tab with more than one focus-able element present will move focus to next available element)