hidescam button

pull/5371/head
bunsenstraat 2 weeks ago
parent 87f2a79263
commit 45025f0e6f
  1. 3
      apps/remix-ide-e2e/src/helpers/init.ts
  2. 2
      libs/remix-ui/statusbar/src/lib/components/scamAlertStatus.tsx

@ -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"]')

@ -15,7 +15,7 @@ export default function ScamAlertStatus ({ refs, getReferenceProps }: ScamAlertS
<CustomTooltip
tooltipText={"Scam Alerts"}
>
<div className="mr-1 d-flex align-items-center justify-content-center remixui_statusbar_scamAlert" id="hTScamAlertSection" ref={refs.setReference} {...getReferenceProps()}>
<div className="mr-1 d-flex align-items-center justify-content-center remixui_statusbar_scamAlert" data-id="hTScamAlertButton" id="hTScamAlertSection" ref={refs.setReference} {...getReferenceProps()}>
<span className="pr-2 far fa-exclamation-triangle text-white"></span>
<span className="text-white font-semibold small">
<FormattedMessage id="home.scamAlert" />

Loading…
Cancel
Save