fix e2e test

pull/5370/head
yann300 2 years ago committed by Aniket
parent 4e103ee203
commit 39dbc84dd5
  1. 4
      apps/remix-ide-e2e/src/commands/clickFunction.ts
  2. 1
      apps/remix-ide-e2e/src/tests/recorder.test.ts

@ -9,9 +9,7 @@ class ClickFunction extends EventEmitter {
document.querySelector('#runTabView').scrollTop = document.querySelector('#runTabView').scrollHeight
}, [], function () {
if (expectedInput) {
client
.scrollInto('#runTabView input[title="' + expectedInput.types + '"]')
.setValue('#runTabView input[title="' + expectedInput.types + '"]', expectedInput.values, _ => _)
client.setValue('#runTabView input[title="' + expectedInput.types + '"]', expectedInput.values, _ => _)
}
done()
})

@ -85,6 +85,7 @@ module.exports = {
modalOk.click()
})
.pause(1000)
.click('*[data-id="deployAndRunClearInstances"]') // clear udapp
.click('*[data-id="terminalClearConsole"]') // clear terminal
.click('[data-id="runtransaction"]')

Loading…
Cancel
Save