update test

largegittest2
bunsenstraat 3 months ago
parent f3c0b80e3e
commit 3eb7555bde
  1. 3
      apps/remix-ide-e2e/src/tests/dgit_github.test.ts
  2. 3
      apps/remix-ide-e2e/src/tests/dgit_local.test.ts
  3. 3
      apps/remix-ide-e2e/src/tests/workspace_git.test.ts

@ -18,6 +18,9 @@ module.exports = {
clickLaunchIcon('dgit') clickLaunchIcon('dgit')
.waitForElementVisible('*[data-id="initgit-btn"]') .waitForElementVisible('*[data-id="initgit-btn"]')
.click('*[data-id="initgit-btn"]') .click('*[data-id="initgit-btn"]')
.waitForElementVisible('*[data-id="github-panel"]')
.click('*[data-id="github-panel"]')
.waitForElementVisible('*[data-id="gitubUsername"]')
.setValue('*[data-id="githubToken"]', process.env.dgit_token) .setValue('*[data-id="githubToken"]', process.env.dgit_token)
.setValue('*[data-id="gitubUsername"]', 'git') .setValue('*[data-id="gitubUsername"]', 'git')
.setValue('*[data-id="githubEmail"]', 'git@example.com') .setValue('*[data-id="githubEmail"]', 'git@example.com')

@ -36,6 +36,9 @@ module.exports = {
clickLaunchIcon('dgit') clickLaunchIcon('dgit')
.waitForElementVisible('*[data-id="initgit-btn"]') .waitForElementVisible('*[data-id="initgit-btn"]')
.click('*[data-id="initgit-btn"]') .click('*[data-id="initgit-btn"]')
.waitForElementVisible('*[data-id="github-panel"]')
.click('*[data-id="github-panel"]')
.waitForElementVisible('*[data-id="gitubUsername"]')
.setValue('*[data-id="gitubUsername"]', 'git') .setValue('*[data-id="gitubUsername"]', 'git')
.setValue('*[data-id="githubEmail"]', 'git@example.com') .setValue('*[data-id="githubEmail"]', 'git@example.com')
.click('*[data-id="saveGitHubCredentials"]') .click('*[data-id="saveGitHubCredentials"]')

@ -423,6 +423,9 @@ module.exports = {
clickLaunchIcon('dgit') clickLaunchIcon('dgit')
.waitForElementVisible('*[data-id="initgit-btn"]') .waitForElementVisible('*[data-id="initgit-btn"]')
.click('*[data-id="initgit-btn"]') .click('*[data-id="initgit-btn"]')
.waitForElementVisible('*[data-id="github-panel"]')
.click('*[data-id="github-panel"]')
.waitForElementVisible('*[data-id="gitubUsername"]')
.setValue('*[data-id="gitubUsername"]', 'git') .setValue('*[data-id="gitubUsername"]', 'git')
.setValue('*[data-id="githubEmail"]', 'git@example.com') .setValue('*[data-id="githubEmail"]', 'git@example.com')
.click('*[data-id="saveGitHubCredentials"]') .click('*[data-id="saveGitHubCredentials"]')

Loading…
Cancel
Save