From dfa2393a2be5dc46d1cc82372026f8d388bd46bb Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Thu, 22 Jun 2023 01:08:49 +0100 Subject: [PATCH] adjust e2e --- apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts b/apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts index 6195e4ccd9..ab10e5216a 100644 --- a/apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts +++ b/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')