PromucFlow_constructor/app/client/cypress/locators/apiWidgetslocator.json
Nandan H A 7bba999c9f Fixing tests for ACL flow
The current push for fixing tests in the new ACL flow.

1. New way to handle create application.
2. API login
3. Removed redundant tests.
4. Fixed Issues wrt ACL changes
2020-06-17 10:47:01 +00:00

36 lines
2.0 KiB
JSON

{
"resourceUrl": ".t--dataSourceField",
"searchApi": ".t--sidebar input[type=text]",
"createapi": ".t--createBlankApiCard",
"apiTxt": ".t--nameOfApi input",
"popover": ".bp3-popover-target >div>svg",
"moveTo": ".single-select >div:contains('Move to')",
"copyTo": ".single-select >div:contains('Copy to')",
"home": ".single-select >div:contains('Home')",
"delete": ".single-select >div:contains('Delete')",
"path": ".t--path >div textarea",
"editResourceUrl": ".t--dataSourceField input",
"autoSuggest": "//div[contains(@id,'react-select')]",
"headerKey": "(//div[contains(@class,'t--actionConfiguration.headers[0].key.0')]//textarea)[2]",
"headerValue": "(//div[contains(@class,'t--actionConfiguration.headers[0].value.0')]//textarea)[2]",
"queryKey": "(//div[contains(@class,'t--actionConfiguration.queryParameters[0].key.0')]//textarea)[2]",
"queryValue": "(//div[contains(@class,'t--actionConfiguration.queryParameters[0].value.0')]//textarea)[2]",
"responseStatus": "//div[@id='root']",
"responseText": ".CodeMirror-line > [role='presentation']",
"createApiOnSideBar": "button:contains('Create new API')",
"saveButton": "button:contains('Save')",
"addHeader": ".t--addApiHeader svg",
"marketPlaceapi": ".t--eachProviderCard p",
"addPageButton": ".t--addToPageBtn",
"apidocumentaionLink": ".t--apiDocumentationLink",
"postbody": "(//div[contains(@class,'CodeMirror-wrap')]//textarea)[1]",
"paginationTab": "li:contains('Pagination')",
"apiInputTab": "li:contains('API Input')",
"paginationOption": ".t--apiFormPaginationType div>input",
"paginationWithTable": "//div[contains(@id,'react') and contains(text(),'Paginate with Table Page No')] ",
"paginationWithUrl": "//div[contains(@id,'react') and contains(text(),'Paginate with Response Url')]",
"panigationNextUrl": ".t--apiFormPaginationNext div>textarea",
"panigationPrevUrl": ".t--apiFormPaginationPrev div>textarea",
"TestNextUrl": ".t--apiFormPaginationNextTest",
"TestPreUrl": ".t--apiFormPaginationPrevTest"
}