Commit 769e005f authored by ioedeveloper's avatar ioedeveloper

Change from sendKeys to keys

parent 0d75f46b
...@@ -31,9 +31,8 @@ module.exports = { ...@@ -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"]')
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment