From fd9f6269d063408b0f443f27944608dff79eb53a Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Fri, 30 Jun 2023 11:48:16 +0100 Subject: [PATCH] increase specificity of css selector for e2e --- apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts | 2 +- 1 file changed, 1 insertion(+), 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 446ea13622..428e50e9b6 100644 --- a/apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts +++ b/apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts @@ -40,7 +40,7 @@ module.exports = { .click('*[id="compileBtn"]') .pause(10000) .clickLaunchIcon('solidityStaticAnalysis') - .click('*[id="staticAnalysisRunBtn"]') + .click('div#staticAnalysisWrapper > *[id="staticAnalysisRunBtn"]') .waitForElementPresent('#staticanalysisresult .warning', 5000) // Check warning count .click('*[data-rb-event-key="remix"]')