Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
ef20331b
Commit
ef20331b
authored
Apr 17, 2021
by
tizah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: moved staticanalysisButton id to the Button component
parent
f6f279c2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
staticAnalysis.spec.ts
apps/remix-ide-e2e/src/tests/staticAnalysis.spec.ts
+1
-1
StaticAnalyserButton.tsx
...i/static-analyser/src/lib/Button/StaticAnalyserButton.tsx
+1
-1
remix-ui-static-analyser.tsx
...x-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx
+1
-1
No files found.
apps/remix-ide-e2e/src/tests/staticAnalysis.spec.ts
View file @
ef20331b
...
@@ -40,7 +40,7 @@ function runTests (browser: NightwatchBrowser) {
...
@@ -40,7 +40,7 @@ function runTests (browser: NightwatchBrowser) {
.
pause
(
10000
)
.
pause
(
10000
)
.
testContracts
(
'Untitled.sol'
,
sources
[
0
][
'Untitled.sol'
],
[
'TooMuchGas'
,
'test1'
,
'test2'
])
.
testContracts
(
'Untitled.sol'
,
sources
[
0
][
'Untitled.sol'
],
[
'TooMuchGas'
,
'test1'
,
'test2'
])
.
clickLaunchIcon
(
'solidityStaticAnalysis'
)
.
clickLaunchIcon
(
'solidityStaticAnalysis'
)
.
click
(
'#staticanalysis
View
button'
)
.
click
(
'#staticanalysis
Button
button'
)
.
waitForElementPresent
(
'#staticanalysisresult .warning'
,
2000
,
true
,
function
()
{
.
waitForElementPresent
(
'#staticanalysisresult .warning'
,
2000
,
true
,
function
()
{
listSelectorContains
([
'Use of tx.origin'
,
listSelectorContains
([
'Use of tx.origin'
,
'Fallback function of contract TooMuchGas requires too much gas'
,
'Fallback function of contract TooMuchGas requires too much gas'
,
...
...
libs/remix-ui/static-analyser/src/lib/Button/StaticAnalyserButton.tsx
View file @
ef20331b
...
@@ -12,7 +12,7 @@ const StaticAnalyserButton = ({
...
@@ -12,7 +12,7 @@ const StaticAnalyserButton = ({
disabled
disabled
}:
StaticAnalyserButtonProps
)
=>
{
}:
StaticAnalyserButtonProps
)
=>
{
return
(
return
(
<
div
className=
"remixui-button-container"
>
<
div
className=
"remixui-button-container"
id=
'staticanalysisButton'
>
<
button
className=
"btn btn-sm w-31 btn-primary"
onClick=
{
onClick
}
disabled=
{
disabled
}
>
<
button
className=
"btn btn-sm w-31 btn-primary"
onClick=
{
onClick
}
disabled=
{
disabled
}
>
{
buttonText
}
{
buttonText
}
</
button
>
</
button
>
...
...
libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx
View file @
ef20331b
...
@@ -313,7 +313,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
...
@@ -313,7 +313,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
return
(
return
(
<
div
style=
{
{
marginLeft
:
'10px'
,
marginRight
:
'10px'
}
}
>
<
div
style=
{
{
marginLeft
:
'10px'
,
marginRight
:
'10px'
}
}
>
<
div
className=
"my-2 d-flex flex-column align-items-left"
>
<
div
className=
"my-2 d-flex flex-column align-items-left"
>
<
div
className=
"d-flex justify-content-between"
id=
'staticanalysisView'
>
<
div
className=
"d-flex justify-content-between"
>
<
div
>
<
div
>
<
CheckBox
<
CheckBox
id=
"checkAllEntries"
id=
"checkAllEntries"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment