pull/5370/head
yann300 3 months ago
parent 99dec77fa2
commit ac12d37391
  1. 5
      apps/remix-ide-e2e/src/tests/dgit_github.test.ts
  2. 5
      apps/remix-ide-e2e/src/tests/dgit_local.test.ts
  3. 5
      apps/remix-ide-e2e/src/tests/workspace_git.test.ts

@ -16,8 +16,9 @@ module.exports = {
'Update settings for git #group1 #group2': function (browser: NightwatchBrowser) {
browser.
clickLaunchIcon('dgit')
.waitForElementVisible('*[data-id="initgit-btn"]')
.click('*[data-id="initgit-btn"]')
// .waitForElementVisible('*[data-id="initgit-btn"]')
// .click('*[data-id="initgit-btn"]')
.waitForElementVisible('*[data-id="githubToken"]')
.setValue('*[data-id="githubToken"]', process.env.dgit_token)
.setValue('*[data-id="gitubUsername"]', 'git')
.setValue('*[data-id="githubEmail"]', 'git@example.com')

@ -34,8 +34,9 @@ module.exports = {
'Update settings for git #group1 #group2 #group3 #group4': function (browser: NightwatchBrowser) {
browser.
clickLaunchIcon('dgit')
.waitForElementVisible('*[data-id="initgit-btn"]')
.click('*[data-id="initgit-btn"]')
// .waitForElementVisible('*[data-id="initgit-btn"]')
// .click('*[data-id="initgit-btn"]')
.waitForElementVisible('*[data-id="gitubUsername"]')
.setValue('*[data-id="gitubUsername"]', 'git')
.setValue('*[data-id="githubEmail"]', 'git@example.com')
.click('*[data-id="saveGitHubCredentials"]')

@ -421,8 +421,9 @@ module.exports = {
'Update settings for git #group5': function (browser: NightwatchBrowser) {
browser.
clickLaunchIcon('dgit')
.waitForElementVisible('*[data-id="initgit-btn"]')
.click('*[data-id="initgit-btn"]')
// .waitForElementVisible('*[data-id="initgit-btn"]')
// .click('*[data-id="initgit-btn"]')
.waitForElementVisible('*[data-id="gitubUsername"]')
.setValue('*[data-id="gitubUsername"]', 'git')
.setValue('*[data-id="githubEmail"]', 'git@example.com')
.click('*[data-id="saveGitHubCredentials"]')

Loading…
Cancel
Save