|
|
|
@ -238,8 +238,8 @@ module.exports = { |
|
|
|
|
}) |
|
|
|
|
.addFile('tests/hhLogs_test.sol', sources[0]['tests/hhLogs_test.sol']) |
|
|
|
|
.clickLaunchIcon('solidityUnitTesting') |
|
|
|
|
.waitForElementVisible('*[id="singleTesttests/Ballot_test.sol"]', 60000) |
|
|
|
|
.click('*[id="singleTesttests/Ballot_test.sol"]') |
|
|
|
|
.waitForElementVisible('*[id="idsingleTesttests/Ballot_test.sol"]', 60000) |
|
|
|
|
.click('*[id="idsingleTesttests/Ballot_test.sol"]') |
|
|
|
|
.click('#runTestsTabRunAction') |
|
|
|
|
.pause(2000) |
|
|
|
|
.waitForElementVisible('*[data-id="testTabSolidityUnitTestsOutputheader"]', 120000) |
|
|
|
@ -261,8 +261,8 @@ module.exports = { |
|
|
|
|
.waitForElementPresent('*[data-id="verticalIconsKindfilePanel"]') |
|
|
|
|
.addFile('tests/ballotFailedLog_test.sol', sources[0]['tests/ballotFailedLog_test.sol']) |
|
|
|
|
.clickLaunchIcon('solidityUnitTesting') |
|
|
|
|
.waitForElementVisible('*[id="singleTesttests/Ballot_test.sol"]', 60000) |
|
|
|
|
.click('*[id="singleTesttests/Ballot_test.sol"]') |
|
|
|
|
.waitForElementVisible('*[id="idsingleTesttests/Ballot_test.sol"]', 60000) |
|
|
|
|
.click('*[id="idsingleTesttests/Ballot_test.sol"]') |
|
|
|
|
.click('#runTestsTabRunAction') |
|
|
|
|
.pause(2000) |
|
|
|
|
.waitForElementVisible('*[data-id="testTabSolidityUnitTestsOutputheader"]', 120000) |
|
|
|
@ -278,8 +278,8 @@ module.exports = { |
|
|
|
|
.waitForElementPresent('*[data-id="verticalIconsKindfilePanel"]') |
|
|
|
|
.addFile('tests/ballotFailedDebug_test.sol', sources[0]['tests/ballotFailedDebug_test.sol']) |
|
|
|
|
.clickLaunchIcon('solidityUnitTesting') |
|
|
|
|
.waitForElementVisible('*[id="singleTesttests/Ballot_test.sol"]', 60000) |
|
|
|
|
.click('*[id="singleTesttests/Ballot_test.sol"]') |
|
|
|
|
.waitForElementVisible('*[id="idsingleTesttests/Ballot_test.sol"]', 60000) |
|
|
|
|
.click('*[id="idsingleTesttests/Ballot_test.sol"]') |
|
|
|
|
.click('#runTestsTabRunAction') |
|
|
|
|
.waitForElementVisible('*[data-id="testTabSolidityUnitTestsOutputheader"]', 120000) |
|
|
|
|
.waitForElementContainsText('#solidityUnittestsOutput', 'tests/ballotFailedDebug_test.sol', 60000) |
|
|
|
|