sendLowLevelTx

pull/2281/head
filip mertens 3 years ago committed by yann300
parent cbaffa5714
commit dda5c1e89c
  1. 5
      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)')

Loading…
Cancel
Save