As of today, we were supporting only ECDSA keys for GitHub, GitLab, and BitBucket. For Azure, RSA key generation was not available. This PR allows users to generate RSA or ECDSA keys.
As of now we support following key types and version control service providers:
Github: ECDSA
Gitlab: RSA, ECDSA
Bitbucket: RSA, ECDSA
Azure: RSA
Fixes #14382, #14715, #14570
62 lines
2.9 KiB
JavaScript
62 lines
2.9 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: ".t--merge-branch-dropdown-destination",
|
|
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-pull .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']",
|
|
};
|