2022-03-02 16:54:43 +00:00
|
|
|
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",
|
2023-05-19 18:37:06 +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",
|
2023-05-19 18:37:06 +00:00
|
|
|
bodyTypeSelected:
|
|
|
|
|
'[data-testid="t--api-body-tab-switch"] .ads-v2-segmented-control__segments-container-segment[data-selected="true"]',
|
2022-03-02 16:54:43 +00:00
|
|
|
bodyTab: "Body",
|
2023-05-19 18:37:06 +00:00
|
|
|
jsonBodyTab:
|
|
|
|
|
".ads-v2-segmented-control__segments-container-segment[data-value='application/json']",
|
2022-03-02 16:54:43 +00:00
|
|
|
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",
|
|
|
|
|
apiDebuggerLink: ".debugger-entity-link"
|
2022-03-02 16:54:43 +00:00
|
|
|
};
|