diff --git a/apps/remix-ide-e2e/src/helpers/init.ts b/apps/remix-ide-e2e/src/helpers/init.ts index f30ce3dd62..cd6bdb86af 100644 --- a/apps/remix-ide-e2e/src/helpers/init.ts +++ b/apps/remix-ide-e2e/src/helpers/init.ts @@ -27,6 +27,8 @@ export default function (browser: NightwatchBrowser, callback: VoidFunction, url }) .verifyLoad() .enableClipBoard() + .waitForElementVisible('*[data-id="hTScamAlertButton"]') + .click('*[data-id="hTScamAlertButton"]') .perform((done) => { browser.execute(function () { // hide tooltips function addStyle(styleString) { @@ -76,6 +78,7 @@ export default function (browser: NightwatchBrowser, callback: VoidFunction, url function initModules(browser: NightwatchBrowser, callback: VoidFunction) { browser + .pause() .click('[data-id="verticalIconsKindpluginManager"]') .scrollAndClick('[data-id="pluginManagerComponentActivateButtonsolidityStaticAnalysis"]') .scrollAndClick('[data-id="pluginManagerComponentActivateButtondebugger"]') diff --git a/libs/remix-ui/statusbar/src/lib/components/scamAlertStatus.tsx b/libs/remix-ui/statusbar/src/lib/components/scamAlertStatus.tsx index d3cbce68fd..98a8b1fc4c 100644 --- a/libs/remix-ui/statusbar/src/lib/components/scamAlertStatus.tsx +++ b/libs/remix-ui/statusbar/src/lib/components/scamAlertStatus.tsx @@ -15,7 +15,7 @@ export default function ScamAlertStatus ({ refs, getReferenceProps }: ScamAlertS -
+