pull/5370/head
bunsenstraat 3 months ago
parent 9f3606ee98
commit 98416cb045
  1. 7
      apps/remix-ide-e2e/src/tests/dgit_github.test.ts

@ -343,8 +343,9 @@ module.exports = {
}, },
// pagination test // pagination test
'clone repo #group3': function (browser: NightwatchBrowser) { 'clone repo #group3': function (browser: NightwatchBrowser) {
browser. browser
clickLaunchIcon('dgit') .waitForElementVisible('*[data-id="clone-panel"]')
.click('*[data-id="clone-panel"]')
.waitForElementVisible('*[data-id="clone-url"]') .waitForElementVisible('*[data-id="clone-url"]')
.setValue('*[data-id="clone-url"]', 'https://github.com/ethereum/awesome-remix') .setValue('*[data-id="clone-url"]', 'https://github.com/ethereum/awesome-remix')
.waitForElementVisible('*[data-id="clone-branch"]') .waitForElementVisible('*[data-id="clone-branch"]')
@ -357,6 +358,8 @@ module.exports = {
'Update settings for git #group3': function (browser: NightwatchBrowser) { 'Update settings for git #group3': function (browser: NightwatchBrowser) {
browser. browser.
clickLaunchIcon('dgit') clickLaunchIcon('dgit')
.waitForElementVisible('*[data-id="github-panel"]')
.click('*[data-id="github-panel"]')
.setValue('*[data-id="githubToken"]', 'invalidtoken') .setValue('*[data-id="githubToken"]', 'invalidtoken')
.setValue('*[data-id="gitubUsername"]', 'git') .setValue('*[data-id="gitubUsername"]', 'git')
.setValue('*[data-id="githubEmail"]', 'git@example.com') .setValue('*[data-id="githubEmail"]', 'git@example.com')

Loading…
Cancel
Save