Change from sendKeys to keys

pull/3/head
ioedeveloper 5 years ago
parent 0d75f46b14
commit 769e005fb1
  1. 5
      apps/remix-ide/test-browser/tests/fileExplorer.test.js

@ -31,9 +31,8 @@ module.exports = {
.waitForElementVisible('*[data-id="treeViewLibrowser/5_New_contract.sol"]') .waitForElementVisible('*[data-id="treeViewLibrowser/5_New_contract.sol"]')
.rightClick('[data-path="browser/5_New_contract.sol"]') .rightClick('[data-path="browser/5_New_contract.sol"]')
.click('*[id="menuitemrename"]') .click('*[id="menuitemrename"]')
.sendKeys('[data-path="browser/5_New_contract.sol"]', '5_Renamed_Contract.sol') .keys('5_Renamed_Contract.sol')
.sendKeys('[data-path="browser/5_New_contract.sol"]', browser.Keys.ENTER) .keys(browser.Keys.ENTER)
.keys()
.waitForElementVisible('*[data-id="treeViewLibrowser/5_Renamed_Contract.sol"]') .waitForElementVisible('*[data-id="treeViewLibrowser/5_Renamed_Contract.sol"]')
}, },

Loading…
Cancel
Save