PromucFlow_constructor/app/client/cypress/locators/jsonFormWidget.json
NandanAnantharamu eff7dd5a4e
test:JsonForm test for multi source data (#14153)
* JsonForm test for multisource data

* Added tests for jsonForm widget

* moved locators to seperate file

* Added some more tests

* Updated tests
2022-06-08 16:21:53 +05:30

17 lines
747 B
JSON

{
"settings": ".t--edit-column-btn",
"propertyName": ".t--code-editor-wrapper",
"jsformInput": ".t--jsonformfield-name input",
"jsformDOB": ".t--jsonformfield-date_of_birth input",
"jsformEmpID": ".t--jsonformfield-employee_id input",
"msg": ".bp3-popover-content",
"submit": "button:contains('Submit')",
"mandatoryAsterisk": ".t--jsonformfield-name div :contains('*')",
"mandatoryFieldControl": ".t--property-control-required .bp3-control-indicator",
"keyInput": ".t--jsonformfield-Key input",
"emailField": "//input[@type='email']",
"switchStatus": ".t--switch-widget-active",
"calendarPopup": ".DayPicker-Months",
"datepickerContainer": "//div[@data-testid='datepicker-container']"
}