hidescamdetails

pull/5371/head
bunsenstraat 2 weeks ago
parent 5ed722e0ff
commit 925bfa4e6e
  1. 5
      apps/remix-ide-e2e/src/commands/hideToolTips.ts
  2. 5
      apps/remix-ide-e2e/src/helpers/init.ts
  3. 1
      libs/remix-ui/statusbar/src/lib/components/scamDetails.tsx

@ -1,4 +1,4 @@
import {NightwatchBrowser} from 'nightwatch'
import { NightwatchBrowser } from 'nightwatch'
import EventEmitter from 'events'
class HideToolTips extends EventEmitter {
@ -16,6 +16,9 @@ class HideToolTips extends EventEmitter {
.popover {
display:none !important;
}
#scamDetails {
display:none !important;
}
`)
}, [], done())
})

@ -27,8 +27,6 @@ export default function (browser: NightwatchBrowser, callback: VoidFunction, url
})
.verifyLoad()
.enableClipBoard()
.waitForElementVisible('*[data-id="hTScamAlertButton"]')
.click('*[data-id="hTScamAlertButton"]')
.waitForElementVisible('*[data-id="aiStatusButton"]')
.click('*[data-id="aiStatusButton"]')
.perform((done) => {
@ -43,6 +41,9 @@ export default function (browser: NightwatchBrowser, callback: VoidFunction, url
.popover {
display:none !important;
}
#scamDetails {
display:none !important;
}
`);
}, [], done())
})

@ -18,6 +18,7 @@ export default function ScamDetails ({ refs, floatStyle, scamAlerts }: ScamDetai
return (
<div
ref={refs.setFloating}
id='scamDetails'
style={{
position: 'absolute',
bottom: '-3.3rem',

Loading…
Cancel
Save