From a0c9bd83a3139eae87e68b20af4a4334e398acf7 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Fri, 30 Jun 2023 14:45:17 +0100 Subject: [PATCH] fix not found in e2e --- apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts | 5 ++++- 1 file changed, 4 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 d32db0c5d1..37f1a87ef2 100644 --- a/apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts +++ b/apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts @@ -41,7 +41,10 @@ module.exports = { .pause(10000) .clickLaunchIcon('solidityStaticAnalysis') .click('div#staticAnalysisWrapper > *[id="staticAnalysisRunBtn"]') - .waitForElementPresent('div#staticanalysisresult .warning', 5000) + .useXpath() + // .waitForElementPresent('div#staticanalysisresult .warning', 5000) + .waitForElementPresent('//*[@id="staticanalysisresult"]', 5000) + .useCss() // Check warning count .click('*[data-rb-event-key="remix"]') .assert.containsText('span#ssaRemixtab > *[data-id="RemixStaticAnalysisErrorCount"]', '1')