Checkbox Group Test Cases
Sr No. | Case Description | Data | Expected Output |
---|---|---|---|
1 | No label | label = '' | Label will not display |
2 | label | label = 'I agree' | Label will display near to checkbox |
3 | No inputMdl | inputMdl = '' | Default inputMdl = false |
4 | Wrong inputMdl | inputMdl = [{ label: 'poor' }] | If inputMdl have any value, On load checkbox will check and change the value as boolean |
5 | Good inputMdl | inputMdl = true/false | As per value, checkbox will checked |
6 | Css property without !important | .cst-checkbox-element-override{ margin-right : 10px } | Default margin will apply |
7 | Css property with !important | .cst-checkbox-element-override{ margin-right : 10px !important; } | margin-right = 10px |
8 | disabled | disabled = true | Click functionality will not work |
9 | Screen size | Large | display from left to right |
Small | display from left to right |