From 42529a8fca8fc20593ee71f47c9b2686aae03a93 Mon Sep 17 00:00:00 2001 From: "davidzagi93@gmail.com" Date: Wed, 8 Sep 2021 11:40:08 +0100 Subject: [PATCH] modify workspace test --- apps/remix-ide-e2e/src/tests/workspace.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/workspace.test.ts b/apps/remix-ide-e2e/src/tests/workspace.test.ts index 50f2e76ee8..0ed4417425 100644 --- a/apps/remix-ide-e2e/src/tests/workspace.test.ts +++ b/apps/remix-ide-e2e/src/tests/workspace.test.ts @@ -51,8 +51,8 @@ module.exports = { .waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') // eslint-disable-next-line dot-notation .execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_name_1' }) - .waitForElementPresent('*[data-id="workspacesModalDialogModalDialogModalFooter-react"] .modal-ok') - .click('*[data-id="workspacesModalDialogModalDialogModalFooter-react"] .modal-ok') + .waitForElementPresent('span[data-id="workspacesModalDialog-modal-footer-ok-react"] .modal-ok') + .click('span[data-id="workspacesModalDialog-modal-footer-ok-react"] .modal-ok') .waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]') .pause(1000) .waitForElementNotPresent('*[data-id="treeViewLitreeViewItemtest.sol"]')