Update goToVMTraceStep.ts

pull/1114/head
yann300 4 years ago committed by ioedeveloper
parent c77ae1e322
commit 602431dac2
  1. 2
      apps/remix-ide-e2e/src/commands/goToVMTraceStep.ts

@ -10,7 +10,7 @@ class GoToVmTraceStep extends EventEmitter {
}
function goToVMtraceStep (browser: NightwatchBrowser, step: number, incr: number, done: VoidFunction) {
browser.execute(function () { document.getElementById('slider')['value'] = number - 1 }) // It only moves slider to 50 but vm traces are not updated
browser.execute(function () { document.getElementById('slider')['value'] = step - 1 }) // It only moves slider to 50 but vm traces are not updated
.setValue('*[data-id="slider"]', new Array(1).fill(browser.Keys.RIGHT_ARROW))
.perform(() => {
done()

Loading…
Cancel
Save