PromucFlow_constructor/app/client/cypress/locators/ApiEditor.js
Hetu Nandu 1194bd5a57
fix: Api pane and settings responsiveness (#33297)
## Description

Various style and layout changes for side by side responsiveness

Fixes #33249 

## Automation

/ok-to-test tags="@tag.Datasource"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9006852734>
> Commit: de02d207d06524e3aace37647821ffd45ee17e64
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9006852734&attempt=1"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->






## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No
2024-05-09 17:02:48 +05:30

39 lines
1.6 KiB
JavaScript

export default {
curlImage: ".t--curlImage",
curlImportBtn: ".t--importBtn",
createBlankApiCard: ".t--createBlankApiCard",
eachProviderCard: ".t--eachProviderCard",
nameOfApi: ".t--nameOfApi",
ApiNameField: ".t--action-name-edit-field",
addToPageBtn: ".t--addToPageBtn",
ApiActionMenu: '[data-testid="more-action-trigger"]',
ApiDeleteBtn: ".t--apiFormDeleteBtn",
ApiRunBtn: ".t--apiFormRunBtn",
addToPageBtnsId: ".t--addToPageButtons",
ApiHomePage: ".t--apiHomePage",
formActionButtons: ".t--formActionButtons",
dataSourceField: ".t--dataSourceField",
responseBody: ".CodeMirror-code span.cm-string.cm-property",
ApiVerb: ".t--apiFormHttpMethod div",
apiPaginationNextText: ".t--apiFormPaginationNext",
apiPaginationPrevText: ".t--apiFormPaginationPrev",
apiPaginationPrevTest: ".t--apiFormPaginationPrevTest",
apiPaginationNextTest: ".t--apiFormPaginationNextTest",
apiPaginationTab:
".t--apiFormPaginationType label:contains('Paginate with response URL') input",
apiTab: ".react-tabs__tab-list li",
bodyType: ".t--apiFormPostBodyType",
bodyTypeSelected: '[data-testid="t--api-body-tab-switch"] .rc-select-selection-item',
bodyTab: "Body",
headersTab: "Header",
jsonResponseTab: "[data-value='JSON']",
tableResponseTab: "[data-value='TABLE']",
rawResponseTab: "[data-value='RAW']",
httpDropDownOptions: ".rc-select-item",
codeEditorWrapper: ".t--code-editor-wrapper",
apiSearchHint: ".datasource-hint",
slashCommandButton: ".commands-button",
apiResponseObject: ".object-key",
apiDebuggerLink: ".debugger-entity-link"
};