pull/5370/head
Joseph Izang 1 year ago
parent 2a99d21177
commit d419138fb3
  1. 3
      apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts

@ -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')

Loading…
Cancel
Save