Fixed failing clone e2e test

pull/5370/head
David Disu 3 years ago
parent 3253835d18
commit b5eaf0409d
  1. 2
      apps/remix-ide-e2e/src/tests/workspace.test.ts

@ -339,7 +339,7 @@ module.exports = {
.setValue('[data-id="modalDialogCustomPromptTextClone"]', 'https://github.com/ethereum/non-existent-repo')
.click('[data-id="fileSystem-modal-footer-ok-react"]')
.pause(5000)
.waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]')
.waitForElementVisible('[data-id="cloneGitRepositoryModalDialogModalBody-react"]')
.waitForElementContainsText('[data-id="cloneGitRepositoryModalDialogModalBody-react"]', 'An error occurred: Please check that you have the correct URL for the repo. If the repo is private, you need to add your github credentials (with the valid token permissions) in Settings plugin')
.click('[data-id="cloneGitRepository-modal-footer-ok-react"]')
.end()

Loading…
Cancel
Save