|
|
@ -12,6 +12,12 @@ describe('HomeTab e2e test', function () { |
|
|
|
browser |
|
|
|
browser |
|
|
|
.waitForElementVisible('*[data-id="homeTabNewFile"]') |
|
|
|
.waitForElementVisible('*[data-id="homeTabNewFile"]') |
|
|
|
.click('*[data-id="homeTabNewFile"]') |
|
|
|
.click('*[data-id="homeTabNewFile"]') |
|
|
|
|
|
|
|
// click again to make it work
|
|
|
|
|
|
|
|
.click('*[data-id="homeTabNewFile"]') |
|
|
|
|
|
|
|
.waitForElementVisible('li[data-id="treeViewLitreeViewItem//blank"]') |
|
|
|
|
|
|
|
.sendKeys('li[data-id="treeViewLitreeViewItem//blank"]', 'newTestFile') |
|
|
|
|
|
|
|
.sendKeys('li[data-id="treeViewLitreeViewItem//blank"]', browser.Keys.ENTER) |
|
|
|
|
|
|
|
.waitForElementVisible('li[data-id="treeViewLitreeViewItemnewTestFile.sol"]') |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
after(browser => browser.end()); |
|
|
|
after(browser => browser.end()); |
|
|
|