2022-03-02 16:54:43 +00:00
|
|
|
export default {
|
|
|
|
|
curlImportBtn: ".t--importBtn",
|
|
|
|
|
createBlankApiCard: ".t--createBlankApiCard",
|
|
|
|
|
eachProviderCard: ".t--eachProviderCard",
|
|
|
|
|
nameOfApi: ".t--nameOfApi",
|
|
|
|
|
ApiNameField: ".t--action-name-edit-field",
|
|
|
|
|
addToPageBtn: ".t--addToPageBtn",
|
2024-07-10 08:52:39 +00:00
|
|
|
ApiActionMenu: "[data-testid=\"more-action-trigger\"]",
|
2022-03-02 16:54:43 +00:00
|
|
|
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",
|
2023-05-19 18:37:06 +00:00
|
|
|
ApiVerb: ".t--apiFormHttpMethod div",
|
2022-03-02 16:54:43 +00:00
|
|
|
apiPaginationNextText: ".t--apiFormPaginationNext",
|
|
|
|
|
apiPaginationPrevText: ".t--apiFormPaginationPrev",
|
|
|
|
|
apiPaginationPrevTest: ".t--apiFormPaginationPrevTest",
|
|
|
|
|
apiPaginationNextTest: ".t--apiFormPaginationNextTest",
|
2023-05-19 18:37:06 +00:00
|
|
|
apiPaginationTab:
|
2023-06-09 08:52:27 +00:00
|
|
|
".t--apiFormPaginationType label:contains('Paginate with response URL') input",
|
2022-03-02 16:54:43 +00:00
|
|
|
apiTab: ".react-tabs__tab-list li",
|
|
|
|
|
bodyType: ".t--apiFormPostBodyType",
|
2024-07-10 08:52:39 +00:00
|
|
|
bodyTypeSelected: "[data-testid=\"t--api-body-tab-switch\"] .rc-select-selection-item",
|
2022-03-02 16:54:43 +00:00
|
|
|
bodyTab: "Body",
|
|
|
|
|
headersTab: "Header",
|
2023-05-19 18:37:06 +00:00
|
|
|
jsonResponseTab: "[data-value='JSON']",
|
|
|
|
|
tableResponseTab: "[data-value='TABLE']",
|
|
|
|
|
rawResponseTab: "[data-value='RAW']",
|
|
|
|
|
httpDropDownOptions: ".rc-select-item",
|
2022-07-08 14:31:12 +00:00
|
|
|
codeEditorWrapper: ".t--code-editor-wrapper",
|
|
|
|
|
apiSearchHint: ".datasource-hint",
|
|
|
|
|
slashCommandButton: ".commands-button",
|
2023-08-03 18:24:36 +00:00
|
|
|
apiResponseObject: ".object-key",
|
2024-07-10 08:52:39 +00:00
|
|
|
apiDebuggerLink: ".debugger-entity-link",
|
2024-09-06 05:01:32 +00:00
|
|
|
apiResponseTabsList : ".ads-v2-tabs__list"
|
2022-03-02 16:54:43 +00:00
|
|
|
};
|