diff --git a/apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts b/apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts index 428e50e9b6..d32db0c5d1 100644 --- a/apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts +++ b/apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts @@ -41,7 +41,7 @@ module.exports = { .pause(10000) .clickLaunchIcon('solidityStaticAnalysis') .click('div#staticAnalysisWrapper > *[id="staticAnalysisRunBtn"]') - .waitForElementPresent('#staticanalysisresult .warning', 5000) + .waitForElementPresent('div#staticanalysisresult .warning', 5000) // Check warning count .click('*[data-rb-event-key="remix"]') .assert.containsText('span#ssaRemixtab > *[data-id="RemixStaticAnalysisErrorCount"]', '1')