Automated following UI test cases for button regarding the property pane: Button Style Validation Button Copy and paste Button Delete Create api, and then call it upon clicking the button widget. Create query, and then call it upon clicking the button widget. All above using JS
14 lines
568 B
JSON
14 lines
568 B
JSON
{
|
|
"addNewQueryBtn": ".dbqueries .t--entity-add-btn",
|
|
"queryEditorIcon": ".t--nav-link-query-editor",
|
|
"templateMenu": ".t--template-menu",
|
|
"runQuery": ".t--run-query",
|
|
"saveQuery": ".t--save-query",
|
|
"deleteQuery": ".t--delete-query",
|
|
"createQuery": ".t--create-query",
|
|
"addQueryEntity": ".//div[contains(@class,'t--entity group queries')]//div[contains(@class,'t--entity-add-btn')]",
|
|
"addDatasource": ".t--add-datasource",
|
|
"editDatasourceButton": ".t--edit-datasource",
|
|
"queryNameField": ".t--action-name-edit-field input"
|
|
}
|