Icon Rating Test Cases
Sr No. | Case Description | Data | Expected Output |
---|---|---|---|
1 | No iconName | iconName = '' | Default SPINNER SPIN will display |
2 | Wrong iconName | iconName = 'stars' | Icon will not display |
3 | Correct iconName | iconName = 'CIRCLE_NOTCH' | Display icons based on iconName and passed data |
4 | No extLabel | extLabel = '' | Default label will display 'Loading...' |
5 | Correct extLabel | extLabel = 'Data is loaing' | Given label will display |
6 | No loaderParentClass | loader will take full screen | |
7 | loaderParentClass | loader will come on top of the given class with class's dimension | |
8 | No cst-loader-element-override | .cst-loader-element-override = {} | Default css will apply on component |
9 | Css property without !important | .cst-loader-element-override{ color: red; } | Default color will apply |
10 | Css property with !important | .cst-loader-element-override{ color: red !important; } | Red color will apply on icons |