desktop-master-git2
bunsenstraat 3 months ago
parent 9204e8e83c
commit 942cf34f16
  1. 3
      apps/remixdesktop/test/tests/app/git-ui.test.ts
  2. 1
      apps/remixdesktop/test/tests/app/git-ui_3.test.ts
  3. 1
      apps/remixdesktop/test/tests/app/git-ui_4.test.ts

@ -56,6 +56,8 @@ const tests = {
'Update settings for git #group1 #group2 #group3': function (browser: NightwatchBrowser) {
browser.
clickLaunchIcon('dgit')
.waitForElementVisible('*[data-id="github-panel"]')
.click('*[data-id="github-panel"]')
.setValue('*[data-id="gitubUsername"]', 'git')
.setValue('*[data-id="githubEmail"]', 'git@example.com')
.click('*[data-id="saveGitHubCredentials"]')
@ -70,6 +72,7 @@ const tests = {
.addFile('test.txt', { content: 'hello world' }, 'README.md')
.clickLaunchIcon('dgit')
.pause(1000)
.click('*[data-id="sourcecontrol-panel"]')
.waitForElementVisible({
selector: "//*[@data-status='new-untracked' and @data-file='/test.txt']",
locateStrategy: 'xpath'

@ -68,6 +68,7 @@ const tests = {
.addFile('test.txt', { content: 'hello world' }, 'README.md')
.clickLaunchIcon('dgit')
.pause(1000)
.click('*[data-id="sourcecontrol-panel"]')
.waitForElementVisible({
selector: "//*[@data-status='new-untracked' and @data-file='/test.txt']",
locateStrategy: 'xpath'

@ -70,6 +70,7 @@ const tests = {
.addFile('test.txt', { content: 'hello world' }, 'README.md')
.clickLaunchIcon('dgit')
.pause(1000)
.click('*[data-id="sourcecontrol-panel"]')
.waitForElementVisible({
selector: "//*[@data-status='new-untracked' and @data-file='/test.txt']",
locateStrategy: 'xpath'

Loading…
Cancel
Save