fix autocomplete e2e test

pull/5370/head
Joseph Izang 2 years ago
parent 748ef3e5e9
commit 9005e3ae95
  1. 2
      apps/remix-ide-e2e/src/tests/editorAutoComplete.test.ts

@ -101,6 +101,7 @@ module.exports = {
'Should autcomplete address types #group1': function (browser: NightwatchBrowser) { 'Should autcomplete address types #group1': function (browser: NightwatchBrowser) {
browser browser
.perform(function () { .perform(function () {
console.log({ autoCompleteLineElement })
const actions = this.actions({ async: true }); const actions = this.actions({ async: true });
return actions. return actions.
sendKeys('addre') sendKeys('addre')
@ -118,6 +119,7 @@ module.exports = {
return actions. return actions.
sendKeys('someaddress.') sendKeys('someaddress.')
}) })
.pause(120000)
.waitForElementVisible(autoCompleteLineElement('balance')) .waitForElementVisible(autoCompleteLineElement('balance'))
.waitForElementVisible(autoCompleteLineElement('send')) .waitForElementVisible(autoCompleteLineElement('send'))
.waitForElementVisible(autoCompleteLineElement('transfer')) .waitForElementVisible(autoCompleteLineElement('transfer'))

Loading…
Cancel
Save