Commit affebde1 authored by ioedeveloper's avatar ioedeveloper Committed by Aniket

Added delay to test

parent fb52ee97
......@@ -78,7 +78,7 @@ module.exports = {
.click('*[data-id="testTabCheckAllTests"]')
.click('.singleTestLabel:nth-of-type(4)')
.scrollAndClick('*[data-id="testTabRunTestsTabRunAction"]')
.pause(5000)
.pause(10000)
.waitForElementPresent('*[data-id="testTabSolidityUnitTestsSummary"]')
.assert.containsText('*[data-id="testTabSolidityUnitTestsSummary"]', 'SyntaxError: No visibility specified')
},
......@@ -106,9 +106,9 @@ module.exports = {
.click('*[data-id="testTabCheckAllTests"]')
.click('.singleTestLabel:nth-of-type(6)')
.scrollAndClick('*[data-id="testTabRunTestsTabRunAction"]')
.pause(10000)
.pause(15000)
.waitForElementPresent('*[data-id="testTabSolidityUnitTestsSummary"]')
.assert.containsText('*[data-id="testTabSolidityUnitTestsSummary"]', 'Method \'add\' can not have parameters inside a test contract')
.assert.containsText('*[data-id="testTabSolidityUnitTestsSummary"]', `Method 'add' can not have parameters inside a test contract`)
},
'Solidity Unittests': function (browser) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment