Modified fileExplorer test to make use of custom rename

pull/3/head
ioedeveloper 5 years ago
parent 102bf9dd5b
commit 28013370c2
  1. 5
      apps/remix-ide/test-browser/tests/fileExplorer.test.js

@ -29,10 +29,7 @@ module.exports = {
'Should rename `5_New_contract.sol` to 5_Renamed_Contract.sol': function (browser) {
browser
.waitForElementVisible('*[data-id="treeViewLibrowser/5_New_contract.sol"]')
.rightClick('[data-path="browser/5_New_contract.sol"]')
.click('*[id="menuitemrename"]')
.keys('5_Renamed_Contract.sol')
.keys(browser.Keys.ENTER)
.renameFile('browser/5_New_contract.sol', '5_Renamed_Contract.sol', 'browser/5_Renamed_Contract.sol')
.waitForElementVisible('*[data-id="treeViewLibrowser/5_Renamed_Contract.sol"]')
},

Loading…
Cancel
Save