|
|
|
@ -11,7 +11,7 @@ contract test1 { address test = tx.origin; } |
|
|
|
|
contract test2 {} |
|
|
|
|
contract TooMuchGas { |
|
|
|
|
uint x; |
|
|
|
|
fallback() external {
|
|
|
|
|
fallback() external { |
|
|
|
|
x++; |
|
|
|
|
uint test; |
|
|
|
|
uint test1; |
|
|
|
@ -44,6 +44,7 @@ module.exports = { |
|
|
|
|
.waitForElementPresent('#staticanalysisresult .warning', 5000) |
|
|
|
|
// Check warning count
|
|
|
|
|
.click('*[data-rb-event-key="basic"]') |
|
|
|
|
.pause(3000) |
|
|
|
|
.assert.containsText('*[data-id="StaticAnalysisErrorCount"]', '1') |
|
|
|
|
.verify.elementPresent('input[name="showLibWarnings"]') |
|
|
|
|
.verify.not.elementPresent('input[name="showLibWarnings"]:checked') |
|
|
|
|