From 154144a277e341171a973a77913ac1f03f06d5de Mon Sep 17 00:00:00 2001 From: "davidzagi93@gmail.com" Date: Wed, 8 Sep 2021 19:50:48 +0100 Subject: [PATCH] added pause to workspace test --- apps/remix-ide-e2e/src/tests/workspace.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide-e2e/src/tests/workspace.test.ts b/apps/remix-ide-e2e/src/tests/workspace.test.ts index de260fd269..bfb2760725 100644 --- a/apps/remix-ide-e2e/src/tests/workspace.test.ts +++ b/apps/remix-ide-e2e/src/tests/workspace.test.ts @@ -51,6 +51,7 @@ module.exports = { .click('[data-id="workspacesModalDialogModalDialogModalFooter-react"] > span') .waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]') .waitForElementNotPresent('*[data-id="treeViewLitreeViewItemtest.sol"]') + .pause(5000) .click('*[data-id="workspacesSelect"] option[value="workspace_name"]') .waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]') }, @@ -62,7 +63,6 @@ module.exports = { .waitForElementVisible('*[data-id="modalDialogCustomPromptTextRename"]') // eslint-disable-next-line dot-notation .execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextRename"]')['value'] = 'workspace_name_renamed' }) - // span[data-id="workspacesModalDialog-modal-footer-ok-react"] .waitForElementPresent('span[data-id="workspacesModalDialog-modal-footer-ok-react"]') .click('span[data-id="workspacesModalDialog-modal-footer-ok-react"]') .click('*[data-id="workspacesSelect"] option[value="workspace_name_1"]')