From 4789ce33eb9a5442cc6698280e25461c12311bd2 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 16 Jul 2024 11:56:24 +0200 Subject: [PATCH] add pauses --- apps/remix-ide-e2e/src/tests/dgit_local.test.ts | 4 ++++ 1 file changed, 4 insertions(+) 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 86d766a753..c0483ac1df 100644 --- a/apps/remix-ide-e2e/src/tests/dgit_local.test.ts +++ b/apps/remix-ide-e2e/src/tests/dgit_local.test.ts @@ -60,6 +60,7 @@ module.exports = { browser. addFile('test.txt', { content: 'hello world' }, 'README.md') .clickLaunchIcon('dgit') + .pause(3000) .click('*[data-id="sourcecontrol-panel"]') .waitForElementVisible({ selector: "//*[@data-status='new-untracked' and @data-file='/test.txt']", @@ -187,6 +188,7 @@ module.exports = { 'stage renamed file #group3': function (browser: NightwatchBrowser) { browser .clickLaunchIcon('dgit') + .pause(3000) .waitForElementVisible({ selector: "//*[@data-status='deleted-unstaged' and @data-file='/test.txt']", locateStrategy: 'xpath' @@ -228,6 +230,7 @@ module.exports = { 'create a branch #group2': function (browser: NightwatchBrowser) { browser .clickLaunchIcon('dgit') + .pause(3000) .click('*[data-id="branches-panel"]') .waitForElementVisible('*[data-id="newbranchname"]') .setValue('*[data-id="newbranchname"]', 'testbranch') @@ -244,6 +247,7 @@ module.exports = { 'publish the branch #group2': function (browser: NightwatchBrowser) { browser .clickLaunchIcon('dgit') + .pause(3000) .waitForElementVisible('*[data-id="sourcecontrol-panel"]') .click('*[data-id="sourcecontrol-panel"]') .pause(1000)