From 1b012a5dbef24182a4f5eab55922358bfd92559a Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Mon, 26 Sep 2022 14:03:47 +0100 Subject: [PATCH] fix autocomplete e2e test --- apps/remix-ide-e2e/src/tests/editorAutoComplete.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/editorAutoComplete.test.ts b/apps/remix-ide-e2e/src/tests/editorAutoComplete.test.ts index 9e09df0e8b..dfd7651051 100644 --- a/apps/remix-ide-e2e/src/tests/editorAutoComplete.test.ts +++ b/apps/remix-ide-e2e/src/tests/editorAutoComplete.test.ts @@ -101,6 +101,7 @@ module.exports = { 'Should autcomplete address types #group1': function (browser: NightwatchBrowser) { browser .perform(function () { + console.log({ autoCompleteLineElement }) const actions = this.actions({ async: true }); return actions. sendKeys('addre') @@ -118,6 +119,7 @@ module.exports = { return actions. sendKeys('someaddress.') }) + .pause(120000) .waitForElementVisible(autoCompleteLineElement('balance')) .waitForElementVisible(autoCompleteLineElement('send')) .waitForElementVisible(autoCompleteLineElement('transfer')) @@ -216,7 +218,7 @@ module.exports = { .waitForElementVisible(autoCompleteLineElement('importedbook')) .waitForElementVisible(autoCompleteLineElement('importpublicstring')) .waitForElementVisible(autoCompleteLineElement('publicimport')) - // no private + // no private .waitForElementNotPresent(autoCompleteLineElement('importprivatestring')) .waitForElementNotPresent(autoCompleteLineElement('privateimport')) // no internal @@ -523,4 +525,4 @@ module.exports = { .sendKeys(this.Keys.ENTER) }) } -} \ No newline at end of file +}