Add delay for contract selection

firefox-stuck
ioedeveloper 4 years ago
parent 31c347ee30
commit 05b8d7f6dd
  1. 2
      apps/remix-ide-e2e/src/commands/selectContract.ts

@ -15,7 +15,7 @@ class SelectContract extends EventEmitter {
function selectContract (browser: NightwatchBrowser, contractName: string, callback: VoidFunction) { function selectContract (browser: NightwatchBrowser, contractName: string, callback: VoidFunction) {
browser.clickLaunchIcon('settings').clickLaunchIcon('udapp') browser.clickLaunchIcon('settings').clickLaunchIcon('udapp')
.pause(1000) .pause(10000)
.setValue('#runTabView select[class^="contractNames"]', contractName).perform(() => { .setValue('#runTabView select[class^="contractNames"]', contractName).perform(() => {
callback() callback()
}) })

Loading…
Cancel
Save