From dda5c1e89cdb86b77bae9f51c3a369fb1f7213de Mon Sep 17 00:00:00 2001 From: filip mertens Date: Mon, 11 Apr 2022 15:13:59 +0200 Subject: [PATCH] sendLowLevelTx --- apps/remix-ide-e2e/src/tests/specialFunctions.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/specialFunctions.test.ts b/apps/remix-ide-e2e/src/tests/specialFunctions.test.ts index 340bd5e0f0..bcdc3c4977 100644 --- a/apps/remix-ide-e2e/src/tests/specialFunctions.test.ts +++ b/apps/remix-ide-e2e/src/tests/specialFunctions.test.ts @@ -176,8 +176,9 @@ module.exports = { .pause(2000) .createContract('') .pause(1000) + .clickInstance(0).pause(1000) .perform((done) => { - browser.getAddressAtPosition(1, (address) => { + browser.getAddressAtPosition(0, (address) => { browser.sendLowLevelTx(address, '999999998765257135', '0xaa') .pause(1000) .journalLastChildIncludes('to: CheckSpecials.(fallback)') @@ -189,7 +190,7 @@ module.exports = { }, 'Use special functions receive/fallback - receive and fallback are declared and payable, sending wei #group6': function (browser: NightwatchBrowser) { browser.perform((done) => { - browser.getAddressAtPosition(1, (address) => { + browser.getAddressAtPosition(0, (address) => { browser.sendLowLevelTx(address, '1', '') .pause(1000) .journalLastChildIncludes('to: CheckSpecials.(receive)')