Button Test Cases
| Sr No. | Case Description | Data | Expected Output |
|---|---|---|---|
| 1 | Button to be shown with label only. | label = 'Save' | Button with Label 'Save' is shown. |
| 2 | Button is shown and a tooltip is shown on hover | label='Save', tooltip: 'Save' | Button is shown and on hover a tooltip is shown with text as 'Save' |
| 3 | Button is shown with icon only. | iconName='Plus' | Button is shown with plus icon. |
| 4 | Button is shown with icon and label | label='Save', iconName='Save' | Button is shown with icon and label |
| 5 | Button is shown with secondary color | options not passed | Button is shown with secondary colors. |
| 6 | Button is shown with primary color | options: { isPrimaryClr : true } | Button is shown with primary colors. |
| 7 | Button is shown with modified CSS | containerClass= '{className}' | Button is shown with class applied on the container |