From ac2a3f8b14304f43d34fbe0e6f085ba342c3fdc1 Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Thu, 31 Oct 2024 07:09:35 +0100 Subject: [PATCH] add test --- apps/remix-ide-e2e/src/tests/metamask.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/metamask.test.ts b/apps/remix-ide-e2e/src/tests/metamask.test.ts index 6bbe11f42e..c33fbfc322 100644 --- a/apps/remix-ide-e2e/src/tests/metamask.test.ts +++ b/apps/remix-ide-e2e/src/tests/metamask.test.ts @@ -332,8 +332,9 @@ const tests = { browser .waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000) .clickLaunchIcon('debugger') + .waitForElementVisible('*[data-id="debuggerTransactionInput"]') .setValue('*[data-id="debuggerTransactionInput"]', txhash) // debug tx - .pause() + .pause(2000) .saveScreenshot('./reports/screenshots/metamask_debug.png') .saveScreenshot('./reports/screenshots/metamask_2.png') .click('*[data-id="debuggerTransactionStartButton"]') @@ -344,7 +345,7 @@ const tests = { }) }, - 'Call web3.eth.getAccounts() using Injected Provider (Metamask) #group4': !function (browser: NightwatchBrowser) { + 'Call web3.eth.getAccounts() using Injected Provider (Metamask) #group3': function (browser: NightwatchBrowser) { if (!checkBrowserIsChrome(browser)) return browser .executeScriptInTerminal('web3.eth.getAccounts()')