added className staticAnalysisView to staticAnalyser component

pull/1104/head
tizah 4 years ago
parent c22fa5e488
commit 3d8d939281
  1. 2
      apps/remix-ide-e2e/src/tests/staticAnalysis.spec.ts
  2. 2
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -41,7 +41,7 @@ function runTests (browser: NightwatchBrowser) {
.testContracts('Untitled.sol', sources[0]['Untitled.sol'], ['TooMuchGas', 'test1', 'test2'])
.clickLaunchIcon('solidityStaticAnalysis')
.click('#staticanalysisView button')
.waitForElementPresent('#staticanalysisresult .warning', 2000, false, function () {
.waitForElementPresent('#staticanalysisresult .warning', 2000, true, function () {
listSelectorContains(['Use of tx.origin',
'Fallback function of contract TooMuchGas requires too much gas',
'TooMuchGas.() : Variables have very similar names "test" and "test1".',

@ -313,7 +313,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
return (
<div style={{ marginLeft: '10px', marginRight: '10px' }}>
<div className="my-2 d-flex flex-column align-items-left">
<div className="d-flex justify-content-between">
<div className="staticanalysisView d-flex justify-content-between">
<div >
<CheckBox
id="checkAllEntries"

Loading…
Cancel
Save