diff --git a/apps/remix-ide-e2e/src/tests/fileExplorer.test.ts b/apps/remix-ide-e2e/src/tests/fileExplorer.test.ts index 209b102d3e..6d59df6426 100644 --- a/apps/remix-ide-e2e/src/tests/fileExplorer.test.ts +++ b/apps/remix-ide-e2e/src/tests/fileExplorer.test.ts @@ -39,7 +39,7 @@ module.exports = { .waitForElementVisible('*[data-id="treeViewLitreeViewItembrowser/5_Renamed_Contract.sol"]') .rightClick('[data-path="browser/5_Renamed_Contract.sol"]') .click('*[id="menuitemdelete"]') - .waitForElementVisible('*[data-id="modalDialogContainer"]') + .waitForElementVisible('*[data-id="modalDialogContainer-react"]') .pause(2000) .click('.modal-ok') .waitForElementNotPresent('*[data-id="treeViewLitreeViewItembrowser/5_Renamed_Contract.sol"') @@ -67,7 +67,7 @@ module.exports = { .waitForElementVisible('*[data-id="treeViewLitreeViewItembrowser/Browser_E2E_Tests"]') .rightClick('[data-path="browser/Browser_E2E_Tests"]') .click('*[id="menuitemdelete"]') - .waitForElementVisible('*[data-id="modalDialogContainer"]') + .waitForElementVisible('*[data-id="modalDialogContainer-react"]') .pause(2000) .click('.modal-ok') .waitForElementNotPresent('*[data-id="treeViewLitreeViewItembrowser/Browser_E2E_Tests"]') @@ -80,11 +80,11 @@ module.exports = { .pause(10000) .waitForElementVisible('*[data-id="fileExplorerNewFilepublishToGist"]') .click('*[data-id="fileExplorerNewFilepublishToGist"]') - .waitForElementVisible('*[data-id="modalDialogContainer"]') + .waitForElementVisible('*[data-id="modalDialogContainer-react"]') .pause(2000) .click('.modal-ok') .pause(2000) - .waitForElementVisible('*[data-id="modalDialogContainer"]') + .waitForElementVisible('*[data-id="modalDialogContainer-react"]') .pause(2000) .click('.modal-ok') .pause(2000)