Datepicker Test Cases

Sr No.Case DescriptionDataExpected Output
1inputMdl is passedinputMdl = '09/09/2019'Datepicker is shown with default value as '09/09/2019'.
2disableddisabled = trueUneditable date picker will be shown with default value.
3cst-datepicker-element-override is passed..cst-datepicker-element-override{margin-right:20px}Date picker is shown with customized style of the class passed.
4change event callback is passed.evtChangeCallback()On change, callback is called passing event and info object.
5otherInfo is passed with change event.otherInfo = ''otherInfo is also set in info object when change callback is called.