Skip to content

Commit

Permalink
add pause
Browse files Browse the repository at this point in the history
  • Loading branch information
bunsenstraat committed Sep 5, 2024
1 parent 163eb1c commit ce91d36
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/remix-ide-e2e/src/tests/dgit_github.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ module.exports = {
'disconnect github #group1': function (browser: NightwatchBrowser) {
browser
.waitForElementVisible('*[data-id="github-panel"]')
.pause(1000)
.click('*[data-id="github-panel"]')
.waitForElementVisible('*[data-id="disconnect-github"]')
.pause(1000)
Expand Down Expand Up @@ -370,6 +371,7 @@ module.exports = {
browser.
clickLaunchIcon('dgit')
.waitForElementVisible('*[data-id="github-panel"]')
.pause(1000)
.click('*[data-id="github-panel"]')
.pause(1000)
.setValue('*[data-id="githubToken"]', 'invalidtoken')
Expand Down
1 change: 1 addition & 0 deletions apps/remix-ide-e2e/src/tests/dgit_local.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ module.exports = {
.waitForElementVisible('*[data-id="initgit-btn"]')
.click('*[data-id="initgit-btn"]')
.waitForElementVisible('*[data-id="github-panel"]')
.pause(1000)
.click('*[data-id="github-panel"]')
.waitForElementVisible('*[data-id="gitubUsername"]')
.setValue('*[data-id="gitubUsername"]', 'git')
Expand Down
1 change: 1 addition & 0 deletions apps/remix-ide-e2e/src/tests/workspace_git.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ module.exports = {
.waitForElementVisible('*[data-id="initgit-btn"]')
.click('*[data-id="initgit-btn"]')
.waitForElementVisible('*[data-id="github-panel"]')
.pause(1000)
.click('*[data-id="github-panel"]')
.waitForElementVisible('*[data-id="gitubUsername"]')
.setValue('*[data-id="gitubUsername"]', 'git')
Expand Down
1 change: 1 addition & 0 deletions apps/remixdesktop/test/tests/app/git-ui_2.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const tests = {
browser.
clickLaunchIcon('dgit')
.waitForElementVisible('*[data-id="github-panel"]')
.pause(1000)
.click('*[data-id="github-panel"]')
.pause(1000)
.setValue('*[data-id="gitubUsername"]', 'git')
Expand Down
1 change: 1 addition & 0 deletions apps/remixdesktop/test/tests/app/git-ui_3.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const tests = {
clickLaunchIcon('dgit')
.saveScreenshot('./reports/screenshots/gitui.png')
.waitForElementVisible('*[data-id="github-panel"]')
.pause(1000)
.saveScreenshot('./reports/screenshots/gitui2.png')
.pause(1000)
.saveScreenshot('./reports/screenshots/gitui3.png')
Expand Down
1 change: 1 addition & 0 deletions apps/remixdesktop/test/tests/app/git-ui_4.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const tests = {
browser.
clickLaunchIcon('dgit')
.waitForElementVisible('*[data-id="github-panel"]')
.pause(1000)
.click('*[data-id="github-panel"]')
.pause(1000)
.setValue('*[data-id="gitubUsername"]', 'git')
Expand Down
1 change: 1 addition & 0 deletions apps/remixdesktop/test/tests/app/github.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ const tests = {
'disconnect github #group1': function (browser: NightwatchBrowser) {
browser
.waitForElementVisible('*[data-id="github-panel"]')
.pause(1000)
.click('*[data-id="github-panel"]')
.waitForElementVisible('*[data-id="disconnect-github"]')
.pause(1000)
Expand Down
1 change: 1 addition & 0 deletions apps/remixdesktop/test/tests/app/github_3.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ const tests = {
browser.
clickLaunchIcon('dgit')
.waitForElementVisible('*[data-id="github-panel"]')
.pause(1000)
.click('*[data-id="github-panel"]')
.pause(1000)
.setValue('*[data-id="githubToken"]', 'invalidtoken')
Expand Down

0 comments on commit ce91d36

Please sign in to comment.