## Description **Fixed below flaky tests** - Scrolling_Spec.ts - API_Edit_spec.js - MaintainContext&Focus_spec.js ## Type of change - Flaky test fix ## How Has This Been Tested? - Cypress test runs ## Checklist: ### QA activity: - [ ] Test plan has been approved by relevant developers - [ ] Test plan has been peer reviewed by QA - [ ] Cypress test cases have been added and approved by either SDET or manual QA - [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA - [ ] Added Test Plan Approved label after reveiwing all Cypress test
44 lines
1.9 KiB
JavaScript
44 lines
1.9 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"] .ads-v2-segmented-control__segments-container-segment[data-selected="true"]',
|
|
bodyTab: "Body",
|
|
jsonBodyTab:
|
|
".ads-v2-segmented-control__segments-container-segment[data-value='application/json']",
|
|
headersTab: "Header",
|
|
jsonResponseTab: "[data-value='JSON']",
|
|
tableResponseTab: "[data-value='TABLE']",
|
|
rawResponseTab: "[data-value='RAW']",
|
|
datasourcesRightPane: "button[role='tab'] span:contains('Datasources')",
|
|
connectionsRightPane: "button[role='tab'] span:contains('Connections')",
|
|
httpDropDownOptions: ".rc-select-item",
|
|
codeEditorWrapper: ".t--code-editor-wrapper",
|
|
apiSearchHint: ".datasource-hint",
|
|
slashCommandButton: ".commands-button",
|
|
apiResponseObject: ".object-key",
|
|
apiDebuggerLink: ".debugger-entity-link"
|
|
};
|