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
cc667aaa
Commit
cc667aaa
authored
Apr 13, 2021
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
e2e linting
parent
454ae4c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
goToVMTraceStep.ts
apps/remix-ide-e2e/src/commands/goToVMTraceStep.ts
+5
-5
No files found.
apps/remix-ide-e2e/src/commands/goToVMTraceStep.ts
View file @
cc667aaa
...
...
@@ -10,11 +10,11 @@ class GoToVmTraceStep extends EventEmitter {
}
function
goToVMtraceStep
(
browser
:
NightwatchBrowser
,
step
:
number
,
incr
:
number
,
done
:
VoidFunction
)
{
browser
.
execute
(
function
()
{
document
.
getElementById
(
'slider'
)[
'value'
]
=
step
-
1
})
.
setValue
(
'*[data-id="slider"]'
,
new
Array
(
1
).
fill
(
browser
.
Keys
.
RIGHT_ARROW
))
.
perform
(()
=>
{
done
()
})
browser
.
execute
(
function
()
{
(
document
.
getElementById
(
'slider'
)
as
HTMLInputElement
).
value
=
(
step
-
1
).
toString
()
})
.
setValue
(
'*[data-id="slider"]'
,
new
Array
(
1
).
fill
(
browser
.
Keys
.
RIGHT_ARROW
))
.
perform
(()
=>
{
done
()
})
}
module
.
exports
=
GoToVmTraceStep
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