|
|
|
@ -195,13 +195,12 @@ module.exports = { |
|
|
|
|
.scrollAndClick('[data-id="pluginManagerComponentActivateButtonsolidityUnitTesting"]') |
|
|
|
|
.pause(5000) |
|
|
|
|
.clickLaunchIcon('solidityUnitTesting') |
|
|
|
|
// .pause(7000)
|
|
|
|
|
// .scrollAndClick('#runTestsTabRunAction')
|
|
|
|
|
// .waitForElementVisible('*[data-id="testTabSolidityUnitTestsOutputheader"]', 120000)
|
|
|
|
|
// .waitForElementPresent('#solidityUnittestsOutput div[class^="testPass"]', 60000)
|
|
|
|
|
// .waitForElementContainsText('#solidityUnittestsOutput', '/tests/4_Ballot_test.sol', 60000)
|
|
|
|
|
// .waitForElementContainsText('#solidityUnittestsOutput', '✓ Check winning proposal', 60000)
|
|
|
|
|
// .waitForElementContainsText('#solidityUnittestsOutput', '✓ Check winnin proposal with return value', 60000)
|
|
|
|
|
.scrollAndClick('#runTestsTabRunAction') |
|
|
|
|
.waitForElementVisible('*[data-id="testTabSolidityUnitTestsOutputheader"]', 120000) |
|
|
|
|
.waitForElementPresent('#solidityUnittestsOutput div[class^="testPass"]', 60000) |
|
|
|
|
.waitForElementContainsText('#solidityUnittestsOutput', '/tests/4_Ballot_test.sol', 60000) |
|
|
|
|
.waitForElementContainsText('#solidityUnittestsOutput', '✓ Check winning proposal', 60000) |
|
|
|
|
.waitForElementContainsText('#solidityUnittestsOutput', '✓ Check winnin proposal with return value', 60000) |
|
|
|
|
.end() |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|