diff --git a/apps/remix-ide/test-browser/tests/fileExplorer.test.js b/apps/remix-ide/test-browser/tests/fileExplorer.test.js index c39fb9ff04..62947629cd 100644 --- a/apps/remix-ide/test-browser/tests/fileExplorer.test.js +++ b/apps/remix-ide/test-browser/tests/fileExplorer.test.js @@ -31,9 +31,8 @@ module.exports = { .waitForElementVisible('*[data-id="treeViewLibrowser/5_New_contract.sol"]') .rightClick('[data-path="browser/5_New_contract.sol"]') .click('*[id="menuitemrename"]') - .sendKeys('[data-path="browser/5_New_contract.sol"]', '5_Renamed_Contract.sol') - .sendKeys('[data-path="browser/5_New_contract.sol"]', browser.Keys.ENTER) - .keys() + .keys('5_Renamed_Contract.sol') + .keys(browser.Keys.ENTER) .waitForElementVisible('*[data-id="treeViewLibrowser/5_Renamed_Contract.sol"]') },