From 9532bca65cb967ff18a94129bda27a4f31471ebf Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Thu, 5 Sep 2024 08:28:16 +0200 Subject: [PATCH] add pause --- apps/remix-ide-e2e/src/tests/dgit_github.test.ts | 2 ++ apps/remix-ide-e2e/src/tests/dgit_local.test.ts | 1 + apps/remix-ide-e2e/src/tests/workspace_git.test.ts | 1 + apps/remixdesktop/test/tests/app/git-ui_2.test.ts | 1 + apps/remixdesktop/test/tests/app/git-ui_3.test.ts | 1 + apps/remixdesktop/test/tests/app/git-ui_4.test.ts | 1 + apps/remixdesktop/test/tests/app/github.test.ts | 1 + apps/remixdesktop/test/tests/app/github_3.test.ts | 1 + 8 files changed, 9 insertions(+) diff --git a/apps/remix-ide-e2e/src/tests/dgit_github.test.ts b/apps/remix-ide-e2e/src/tests/dgit_github.test.ts index baa6e9cec1..1b361b3591 100644 --- a/apps/remix-ide-e2e/src/tests/dgit_github.test.ts +++ b/apps/remix-ide-e2e/src/tests/dgit_github.test.ts @@ -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) @@ -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') diff --git a/apps/remix-ide-e2e/src/tests/dgit_local.test.ts b/apps/remix-ide-e2e/src/tests/dgit_local.test.ts index 659b20767a..b0cce197f6 100644 --- a/apps/remix-ide-e2e/src/tests/dgit_local.test.ts +++ b/apps/remix-ide-e2e/src/tests/dgit_local.test.ts @@ -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') diff --git a/apps/remix-ide-e2e/src/tests/workspace_git.test.ts b/apps/remix-ide-e2e/src/tests/workspace_git.test.ts index a9af174ebc..c495ce11b8 100644 --- a/apps/remix-ide-e2e/src/tests/workspace_git.test.ts +++ b/apps/remix-ide-e2e/src/tests/workspace_git.test.ts @@ -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') diff --git a/apps/remixdesktop/test/tests/app/git-ui_2.test.ts b/apps/remixdesktop/test/tests/app/git-ui_2.test.ts index 461dbba61a..6a1f3b598b 100644 --- a/apps/remixdesktop/test/tests/app/git-ui_2.test.ts +++ b/apps/remixdesktop/test/tests/app/git-ui_2.test.ts @@ -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') diff --git a/apps/remixdesktop/test/tests/app/git-ui_3.test.ts b/apps/remixdesktop/test/tests/app/git-ui_3.test.ts index ef29f0ded9..0872d93b27 100644 --- a/apps/remixdesktop/test/tests/app/git-ui_3.test.ts +++ b/apps/remixdesktop/test/tests/app/git-ui_3.test.ts @@ -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') diff --git a/apps/remixdesktop/test/tests/app/git-ui_4.test.ts b/apps/remixdesktop/test/tests/app/git-ui_4.test.ts index 89c4099b67..962a0b3ccb 100644 --- a/apps/remixdesktop/test/tests/app/git-ui_4.test.ts +++ b/apps/remixdesktop/test/tests/app/git-ui_4.test.ts @@ -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') diff --git a/apps/remixdesktop/test/tests/app/github.test.ts b/apps/remixdesktop/test/tests/app/github.test.ts index ef7f68b30c..612be7e02f 100644 --- a/apps/remixdesktop/test/tests/app/github.test.ts +++ b/apps/remixdesktop/test/tests/app/github.test.ts @@ -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) diff --git a/apps/remixdesktop/test/tests/app/github_3.test.ts b/apps/remixdesktop/test/tests/app/github_3.test.ts index e7dc1de86a..9c95fdc99c 100644 --- a/apps/remixdesktop/test/tests/app/github_3.test.ts +++ b/apps/remixdesktop/test/tests/app/github_3.test.ts @@ -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')