|
|
@ -179,10 +179,8 @@ function runTests (browser: NightwatchBrowser) { |
|
|
|
.click('*[data-id="treeViewLitreeViewItemcontracts"]') |
|
|
|
.click('*[data-id="treeViewLitreeViewItemcontracts"]') |
|
|
|
.openFile('contracts/3_Ballot.sol') |
|
|
|
.openFile('contracts/3_Ballot.sol') |
|
|
|
.clickLaunchIcon('solidityUnitTesting') |
|
|
|
.clickLaunchIcon('solidityUnitTesting') |
|
|
|
.pause(500) |
|
|
|
|
|
|
|
.setValue('*[data-id="uiPathInput"]', '') // clear before input chrome hack
|
|
|
|
|
|
|
|
.setValue('*[data-id="uiPathInput"]', 'test') |
|
|
|
|
|
|
|
.pause(2000) |
|
|
|
.pause(2000) |
|
|
|
|
|
|
|
.verify.attributeEquals('*[data-id="uiPathInput"]', 'value', 'tests') |
|
|
|
.scrollAndClick('#runTestsTabRunAction') |
|
|
|
.scrollAndClick('#runTestsTabRunAction') |
|
|
|
.waitForElementVisible('*[data-id="testTabSolidityUnitTestsOutputheader"]', 120000) |
|
|
|
.waitForElementVisible('*[data-id="testTabSolidityUnitTestsOutputheader"]', 120000) |
|
|
|
.waitForElementPresent('#solidityUnittestsOutput div[class^="testPass"]', 60000) |
|
|
|
.waitForElementPresent('#solidityUnittestsOutput div[class^="testPass"]', 60000) |
|
|
|