|
|
|
@ -174,7 +174,8 @@ module.exports = { |
|
|
|
|
.openFile('contracts/3_Ballot.sol') |
|
|
|
|
.clickLaunchIcon('solidityUnitTesting') |
|
|
|
|
.pause(2000) |
|
|
|
|
.verify.attributeEquals('*[data-id="uiPathInput"]', 'value', 'tests') |
|
|
|
|
.verify.attributeEquals('*[data-id="uiPathInput"]', 'value', 'tests1') |
|
|
|
|
.pause(2000) |
|
|
|
|
.scrollAndClick('#runTestsTabRunAction') |
|
|
|
|
.waitForElementVisible('*[data-id="testTabSolidityUnitTestsOutputheader"]', 120000) |
|
|
|
|
.waitForElementPresent('#solidityUnittestsOutput div[class^="testPass"]', 60000) |
|
|
|
@ -222,6 +223,7 @@ module.exports = { |
|
|
|
|
.scrollAndClick('[data-id="pluginManagerComponentDeactivateButtonsolidityUnitTesting"]') |
|
|
|
|
.pause(2000) |
|
|
|
|
.scrollAndClick('[data-id="pluginManagerComponentActivateButtonsolidityUnitTesting"]') |
|
|
|
|
.pause(5000) |
|
|
|
|
.clickLaunchIcon('solidityUnitTesting') |
|
|
|
|
.scrollAndClick('#runTestsTabRunAction') |
|
|
|
|
.waitForElementVisible('*[data-id="testTabSolidityUnitTestsOutputheader"]', 120000) |
|
|
|
|