## Description - Added clean up for git repos **Fixed below flaky tests** - Scrolling_spec.js - PgAdmin_spec.js - BasicLint_spec.ts - Logs_spec.ts - GraphQL_spec.ts ## 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 --------- Co-authored-by: Aishwarya UR <aishwarya@appsmith.com> Co-authored-by: Aishwarya-U-R <91450662+Aishwarya-U-R@users.noreply.github.com>
64 lines
3.1 KiB
JavaScript
64 lines
3.1 KiB
JavaScript
export default {
|
|
gitRepoInput: ".t--git-repo-input",
|
|
generateDeployKeyBtn: "[data-testid=t--generate-deploy-ssh-key-button]",
|
|
connectSubmitBtn: ".t--connect-submit-btn",
|
|
createNewBranchButton: ".t--create-new-branch-button",
|
|
createNewBranchSubmitbutton: ".t--create-new-branch-submit-button",
|
|
branchButton: "[data-testid=t--branch-button-container]",
|
|
commitCommentInput: ".t--commit-comment-input",
|
|
commitButton: ".t--commit-button",
|
|
pullButton: ".t--pull-button",
|
|
openRepoButton: ".t--open-repo-button",
|
|
gitConfigNameInput: ".t--git-config-name-input",
|
|
gitConfigEmailInput: ".t--git-config-email-input",
|
|
branchSearchInput: ".t--branch-search-input",
|
|
branchListItem: "[data-testid=t--branch-list-item]",
|
|
closeGitSyncModal: ".t--close-git-sync-modal",
|
|
closeRevokeModal: ".t--close-disconnect-modal",
|
|
gitSyncModal: ".git-sync-modal",
|
|
bottomBarCommitButton: ".t--bottom-bar-commit",
|
|
bottomBarMergeButton: ".t--bottom-bar-merge",
|
|
bottomBarPullButton: ".t--bottom-bar-pull",
|
|
mergeBranchDropdownDestination: ".merge-dropdown",
|
|
mergeCTA: "[data-testid=t--git-merge-button]",
|
|
loaderQuickGitAction: ".t--loader-quick-git-action",
|
|
copySshKey: ".t--copy-ssh-key",
|
|
connetStatusbar: ".t--connect-statusbar",
|
|
useGlobalGitConfig: "[data-cy=t--use-global-config-checkbox]",
|
|
connectGitBottomBar: ".t--connect-git-bottom-bar",
|
|
disabledConnectGitBottomBar: ".t--disabled-connect-git-bottom-bar",
|
|
syncBranches: ".t--sync-branches",
|
|
closeBranchList: ".t--close-branch-list",
|
|
learnMoreDeployKey: "//a[text()='Learn More']",
|
|
learnMoreSshUrl: ".t--learn-more-ssh-url",
|
|
readDocument: ".t--read-document",
|
|
gitConnectErrorLearnMore:
|
|
".t--git-connection-error .t--notification-banner-learn-more",
|
|
deployPreview: ".t--git-deploy-preview",
|
|
mergeButton: "[data-testid=t--git-merge-button]",
|
|
disconnectIcon: ".t--git-disconnect-icon",
|
|
disconnectGitModal: ".disconnect-git-modal",
|
|
disconnectButton: ".t--git-revoke-button",
|
|
closeDisconnectModal: ".t--close-disconnect-modal",
|
|
disconnectAppNameInput: ".t--git-app-name-input",
|
|
repoLimitExceededErrorModal: ".t--git-repo-limited-modal",
|
|
contactSalesButton: ".t--contact-sales-button",
|
|
connectedApplication: ".t--connected-app-wrapper",
|
|
diconnectLink: ".t--disconnect-link",
|
|
disconnectLearnMoreLink: ".t--disconnect-learn-more",
|
|
learnMoreOnRepoLimitModal: ".t--learn-more-repo-limit-modal",
|
|
gitSyncModalDeployTab: "[data-cy=t--tab-DEPLOY]",
|
|
gitPullCount: ".t--bottom-bar-commit .count",
|
|
gitConnectionContainer: "[data-test=t--git-connection-container]",
|
|
gitRemoteURLContainer: "[data-test=t--remote-url-container]",
|
|
discardChanges: ".t--discard-button",
|
|
gitBranchContextMenu: ".git-branch-more-menu",
|
|
gitBranchDelete: ".t--branch-more-menu-delete",
|
|
SSHKeycontextmenu: ".bp3-popover-wrapper.more",
|
|
regenerateSSHKeyECDSA: "[data-cy='t--regenerate-sshkey-ECDSA']",
|
|
regenerateSSHKeyRSA: "[data-cy='t--regenerate-sshkey-RSA']",
|
|
confirmButton: "//span[text()='Yes']",
|
|
mergeConflicts:
|
|
"//span[contains(text(), 'There are uncommitted changes present in your local branch master. Please commit them first and try again')]",
|
|
};
|