PromucFlow_constructor/app/client/cypress/locators/apiWidgetslocator.json
Tanvi Bhakta eeaf4ec044
fix: casing changes (#23515)
Fixes: 
https://github.com/appsmithorg/appsmith/issues/24202

#### Type of change

- Chore (housekeeping or task changes that don't impact user perception)

## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [ ] Manual
- [ ] Jest
- [ ] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Test-plan-implementation#speedbreaker-features-to-consider-for-every-change)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans/_edit#areas-of-interest)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
2023-06-09 14:22:27 +05:30

67 lines
3.6 KiB
JSON

{
"resourceUrl": ".t--dataSourceField",
"searchInputPlaceholder": "//div[contains(@class, 't--dataSourceField')]//div//input",
"searchApi": ".t--sidebar input[type=text]",
"createapi": ".t--createBlankApiCard",
"createAuthApiDatasource": ".t--createAuthApiDatasource",
"apiTxt": ".t--action-name-edit-field input",
"popover": "//button[contains(@class, 'entity-context-menu')]",
"moveTo": ".single-select >div:contains('Move to')",
"copyTo": ".single-select >div:contains('Copy to page')",
"home": ".single-select >div:contains('Page1')",
"delete": ".t--entity-context-menu > div.ads-v2-menu__menu-item.error-menuitem",
"deleteConfirm": ".single-select >div:contains('Are you sure?')",
"path": ".t--path >div textarea",
"editResourceUrl": ".t--dataSourceField",
"autoSuggest": "//div[contains(@id,'react-select')]",
"headerKey": ".t--actionConfiguration\\.headers\\[0\\]\\.key\\.0",
"headerValue": ".t--actionConfiguration\\.headers\\[0\\]\\.value\\.0",
"autoGeneratedHeaderKey": ".t--autoGeneratedHeader-key-0",
"autoGeneratedHeaderValue": ".t--autoGeneratedHeader-value-0",
"queryKey": ".t--actionConfiguration\\.queryParameters\\[0\\]\\.key\\.0",
"queryValue": ".t--actionConfiguration\\.queryParameters\\[0\\]\\.value\\.0",
"formEncoded": ".t--actionConfiguration\\.bodyFormData\\[0\\]\\.key\\.0",
"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)[2]",
"paginationTab": "//span[text()='Pagination']",
"apiInputTab": "li:contains('API Input')",
"paginationOption": ".t--apiFormPaginationType div>input",
"paginationWithTable": ".t--apiFormPaginationType label:contains('Paginate with Table Page No') input",
"paginationWithUrl": ".t--apiFormPaginationType label:contains('Paginate with response URL') input",
"panigationNextUrl": ".t--apiFormPaginationNext div>textarea",
"panigationPrevUrl": ".t--apiFormPaginationPrev div>textarea",
"TestNextUrl": ".t--apiFormPaginationNextTest",
"TestPreUrl": ".t--apiFormPaginationPrevTest",
"EditApiName": "img[alt='Edit pen']",
"ApiName": ".t--action-name-edit-field span",
"Request": "//li//span[text()='Request']",
"RequestURL": "(//span[@class='bp3-tree-node-label']/span)[1]",
"RequestMethod": "(//span[@class='bp3-tree-node-label']/span)[2]",
"content-Type": "(//span[@class='bp3-tree-node-label']/span)[3]",
"requestBody": "(//div[contains(@class,'bp3-collapse-body')]//textarea)[1]",
"showrequest": "span:contains('Show Request')",
"Responsetab": "//li//span[text()='Response Body']",
"deleteAPI": ".t--apiFormDeleteBtn",
"editName": ".single-select >div:contains('Edit name')",
"page": ".single-select >div",
"propertyList": ".binding",
"actionlist": ".action div div",
"settings": "span:contains('Settings')",
"headers": "span:contains('Headers')",
"onPageLoad": "[name=executeOnLoad]",
"renameEntity": "div[role='menuitem']:contains('Edit name')",
"paramsTab": "//span[text()='Params']",
"paramKey": ".t--actionConfiguration\\.queryParameters\\[0\\]\\.key\\.0",
"paramValue": ".t--actionConfiguration\\.queryParameters\\[0\\]\\.value\\.0",
"multipartTypeDropdown": "button:contains('Type')",
"confirmBeforeExecute": "[name=confirmBeforeExecute]",
"runQueryButton": ".t--apiFormRunBtn"
}