pull/2054/head^2
yann300 3 years ago
parent 526ed2aacb
commit b4ea409a97
  1. 2
      apps/remix-ide-e2e/src/commands/goToVMTraceStep.ts

@ -12,7 +12,7 @@ class GoToVmTraceStep extends EventEmitter {
function goToVMtraceStep (browser: NightwatchBrowser, step: number, incr: number, done: VoidFunction) { function goToVMtraceStep (browser: NightwatchBrowser, step: number, incr: number, done: VoidFunction) {
browser.execute(function (step) { (document.getElementById('slider') as HTMLInputElement).value = (step - 1).toString() }, [step]) browser.execute(function (step) { (document.getElementById('slider') as HTMLInputElement).value = (step - 1).toString() }, [step])
.setValue('*[data-id="slider"]', new Array(1).fill(browser.Keys.RIGHT_ARROW)) .setValue('*[data-id="slider"]', new Array(1).fill(browser.Keys.RIGHT_ARROW))
.pause(500) .pause(1000)
.perform(() => { .perform(() => {
done() done()
}) })

Loading…
Cancel
Save