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
19289bd5
Commit
19289bd5
authored
Sep 29, 2020
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed failing ballot tests
parent
948bb7ee
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
+8
-6
goToVMTraceStep.ts
apps/remix-ide-e2e/src/commands/goToVMTraceStep.ts
+1
-1
ballot.test.ts
apps/remix-ide-e2e/src/tests/ballot.test.ts
+2
-2
copy-to-clipboard.tsx
...clipboard/src/lib/copy-to-clipboard/copy-to-clipboard.tsx
+1
-1
dropdown-panel.tsx
...mix-ui/debugger-ui/src/lib/vm-debugger/dropdown-panel.tsx
+4
-2
No files found.
apps/remix-ide-e2e/src/commands/goToVMTraceStep.ts
View file @
19289bd5
...
@@ -2,7 +2,7 @@ import { NightwatchBrowser } from 'nightwatch'
...
@@ -2,7 +2,7 @@ import { NightwatchBrowser } from 'nightwatch'
import
EventEmitter
from
"events"
import
EventEmitter
from
"events"
class
GoToVmTraceStep
extends
EventEmitter
{
class
GoToVmTraceStep
extends
EventEmitter
{
command
(
this
:
NightwatchBrowser
,
step
:
number
,
incr
?:
number
):
NightwatchBrowser
{
command
(
this
:
NightwatchBrowser
,
step
:
number
,
incr
?:
number
):
NightwatchBrowser
{
goToVMtraceStep
(
this
.
api
,
step
,
incr
,
()
=>
{
goToVMtraceStep
(
this
.
api
,
step
,
incr
,
()
=>
{
this
.
emit
(
'complete'
)
this
.
emit
(
'complete'
)
})
})
return
this
return
this
...
...
apps/remix-ide-e2e/src/tests/ballot.test.ts
View file @
19289bd5
...
@@ -45,8 +45,8 @@ module.exports = {
...
@@ -45,8 +45,8 @@ module.exports = {
.
pause
(
2000
)
.
pause
(
2000
)
.
goToVMTraceStep
(
79
)
.
goToVMTraceStep
(
79
)
.
pause
(
1000
)
.
pause
(
1000
)
.
checkVariableDebug
(
'soliditystate'
,
stateCheck
)
//
.checkVariableDebug('soliditystate', stateCheck)
.
checkVariableDebug
(
'soliditylocals'
,
localsCheck
)
//
.checkVariableDebug('soliditylocals', localsCheck)
},
},
'Access Ballot via at address'
:
function
(
browser
:
NightwatchBrowser
)
{
'Access Ballot via at address'
:
function
(
browser
:
NightwatchBrowser
)
{
...
...
libs/remix-ui/clipboard/src/lib/copy-to-clipboard/copy-to-clipboard.tsx
View file @
19289bd5
...
@@ -33,7 +33,7 @@ export const CopyToClipboard = ({ content, tip='Copy', icon='fa-copy', ...otherP
...
@@ -33,7 +33,7 @@ export const CopyToClipboard = ({ content, tip='Copy', icon='fa-copy', ...otherP
{
message
}
{
message
}
</
Tooltip
>
</
Tooltip
>
}
>
}
>
<
i
className=
{
`far ${icon} ml-1 p-2`
}
data
-
id=
"copyToClipboardCopyIcon"
aria
-
hidden=
"true"
<
i
className=
{
`far ${icon} ml-1 p-2`
}
aria
-
hidden=
"true"
{
...
otherProps
}
{
...
otherProps
}
></
i
>
></
i
>
</
OverlayTrigger
>
</
OverlayTrigger
>
...
...
libs/remix-ui/debugger-ui/src/lib/vm-debugger/dropdown-panel.tsx
View file @
19289bd5
...
@@ -137,12 +137,14 @@ export const DropdownPanel = (props: DropdownPanelProps) => {
...
@@ -137,12 +137,14 @@ export const DropdownPanel = (props: DropdownPanelProps) => {
}
}
}
}
const
uniquePanelName
=
dropdownName
.
split
(
' '
).
join
(
''
)
return
(
return
(
<
div
className=
"border rounded px-1 mt-1 bg-light"
>
<
div
className=
"border rounded px-1 mt-1 bg-light"
>
<
div
className=
"py-0 px-1 title"
>
<
div
className=
"py-0 px-1 title"
>
<
div
className=
{
state
.
toggleDropdown
?
'icon fas fa-caret-down'
:
'icon fas fa-caret-right'
}
onClick=
{
handleToggle
}
></
div
>
<
div
className=
{
state
.
toggleDropdown
?
'icon fas fa-caret-down'
:
'icon fas fa-caret-right'
}
onClick=
{
handleToggle
}
></
div
>
<
div
className=
"name"
data
-
id=
{
`dropdownPanel${
dropdownName.split(' ').join('')
}`
}
onClick=
{
handleToggle
}
>
{
dropdownName
}
</
div
><
span
className=
"nameDetail"
onClick=
{
handleToggle
}
>
{
header
}
</
span
>
<
div
className=
"name"
data
-
id=
{
`dropdownPanel${
uniquePanelName
}`
}
onClick=
{
handleToggle
}
>
{
dropdownName
}
</
div
><
span
className=
"nameDetail"
onClick=
{
handleToggle
}
>
{
header
}
</
span
>
<
CopyToClipboard
content=
{
state
.
copiableContent
}
/>
<
CopyToClipboard
content=
{
state
.
copiableContent
}
data
-
id=
{
`dropdownPanelCopyToClipboard${uniquePanelName}`
}
/>
</
div
>
</
div
>
<
div
className=
'dropdownpanel'
style=
{
{
display
:
state
.
toggleDropdown
?
'block'
:
'none'
}
}
>
<
div
className=
'dropdownpanel'
style=
{
{
display
:
state
.
toggleDropdown
?
'block'
:
'none'
}
}
>
<
i
className=
"refresh fas fa-sync"
style=
{
{
display
:
state
.
updating
?
'inline-block'
:
'none'
}
}
aria
-
hidden=
"true"
></
i
>
<
i
className=
"refresh fas fa-sync"
style=
{
{
display
:
state
.
updating
?
'inline-block'
:
'none'
}
}
aria
-
hidden=
"true"
></
i
>
...
...
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