|
|
@ -22,9 +22,9 @@ module.exports = { |
|
|
|
.click('li[data-id="treeViewLitreeViewItemREADME.txt"]') // focus on root directory
|
|
|
|
.click('li[data-id="treeViewLitreeViewItemREADME.txt"]') // focus on root directory
|
|
|
|
.click('*[data-id="fileExplorerNewFilecreateNewFile"]') |
|
|
|
.click('*[data-id="fileExplorerNewFilecreateNewFile"]') |
|
|
|
.pause(1000) |
|
|
|
.pause(1000) |
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemdefault_workspace/blank"]') |
|
|
|
.waitForElementVisible('*[data-id$="/blank"]') |
|
|
|
.sendKeys('*[data-id="treeViewLitreeViewItemdefault_workspace/blank"] .remixui_items', '5_New_contract.sol') |
|
|
|
.sendKeys('*[data-id$="/blank"] .remixui_items', '5_New_contract.sol') |
|
|
|
.sendKeys('*[data-id="treeViewLitreeViewItemdefault_workspace/blank"] .remixui_items', browser.Keys.ENTER) |
|
|
|
.sendKeys('*[data-id$="/blank"] .remixui_items', browser.Keys.ENTER) |
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItem5_New_contract.sol"]', 7000) |
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItem5_New_contract.sol"]', 7000) |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -49,9 +49,9 @@ module.exports = { |
|
|
|
.click('li[data-id="treeViewLitreeViewItemREADME.txt"]') // focus on root directory
|
|
|
|
.click('li[data-id="treeViewLitreeViewItemREADME.txt"]') // focus on root directory
|
|
|
|
.click('[data-id="fileExplorerNewFilecreateNewFolder"]') |
|
|
|
.click('[data-id="fileExplorerNewFilecreateNewFolder"]') |
|
|
|
.pause(1000) |
|
|
|
.pause(1000) |
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemdefault_workspace/blank"]') |
|
|
|
.waitForElementVisible('*[data-id$="/blank"]') |
|
|
|
.sendKeys('*[data-id="treeViewLitreeViewItemdefault_workspace/blank"] .remixui_items', 'Browser_Tests') |
|
|
|
.sendKeys('*[data-id$="/blank"] .remixui_items', 'Browser_Tests') |
|
|
|
.sendKeys('*[data-id="treeViewLitreeViewItemdefault_workspace/blank"] .remixui_items', browser.Keys.ENTER) |
|
|
|
.sendKeys('*[data-id$="/blank"] .remixui_items', browser.Keys.ENTER) |
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemBrowser_Tests"]') |
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemBrowser_Tests"]') |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|