Checkbox Group Test Cases

Sr No.Case DescriptionDataExpected Output
1No labellabel = ''Label will not display
2labellabel = 'I agree'Label will display near to checkbox
3No inputMdlinputMdl = ''Default inputMdl = false
4Wrong inputMdlinputMdl = [{
label: 'poor'
}]
If inputMdl have any value, On load checkbox will check and change the value as boolean
5Good inputMdlinputMdl = true/falseAs per value, checkbox will checked
6Css property without !important.cst-checkbox-element-override{
margin-right : 10px
}
Default margin will apply
7Css property with !important.cst-checkbox-element-override{
margin-right : 10px !important;
}
margin-right = 10px
8disableddisabled = trueClick functionality will not work
9Screen sizeLargedisplay from left to right
Smalldisplay from left to right