|
|
|
@ -40,7 +40,7 @@ function runTests (browser: NightwatchBrowser) { |
|
|
|
|
.pause(10000) |
|
|
|
|
.testContracts('Untitled.sol', sources[0]['Untitled.sol'], ['TooMuchGas', 'test1', 'test2']) |
|
|
|
|
.clickLaunchIcon('solidityStaticAnalysis') |
|
|
|
|
.click('#staticanalysisView button') |
|
|
|
|
.click('#staticanalysisButton button') |
|
|
|
|
.waitForElementPresent('#staticanalysisresult .warning', 2000, true, function () { |
|
|
|
|
listSelectorContains(['Use of tx.origin', |
|
|
|
|
'Fallback function of contract TooMuchGas requires too much gas', |
|
|
|
|