Added delay to test

pull/5370/head
ioedeveloper 5 years ago
parent 4e95315f15
commit 7a57cd3b20
  1. 4
      test-browser/tests/solidityUnittests.js

@ -83,7 +83,7 @@ module.exports = {
.pause(5000)
.click('*[data-id="testTabRunTestsTabStopAction"]')
.assert.containsText('*[data-id="testTabRunTestsTabStopAction"]', 'Stopping')
.pause(5000)
.pause(10000)
.assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', 'browser/ks2b_test.sol (kickstarterTest)')
.notContainsText('*[data-id="testTabSolidityUnitTestsOutput"]', 'browser/4_Ballot_test.sol (BallotTest)')
.notContainsText('*[data-id="testTabSolidityUnitTestsOutput"]', 'browser/simple_storage_test.sol (MyTest)')
@ -147,7 +147,7 @@ function runTests (browser) {
.clickLaunchIcon('solidityUnitTesting')
.scrollAndClick('#runTestsTabRunAction')
.waitForElementPresent('#solidityUnittestsOutput div[class^="testPass"]')
.pause(10000)
.pause(15000)
.assert.containsText('#solidityUnittestsOutput', 'browser/4_Ballot_test.sol (BallotTest)')
.assert.containsText('#solidityUnittestsOutput', '✓ Check winning proposal')
.assert.containsText('#solidityUnittestsOutput', '✓ Check winnin proposal with return value')

Loading…
Cancel
Save