e2e for testing large value (#1304)

fix https://github.com/ethereum/remix-project/issues/1272
pull/1344/head
yann300 3 years ago committed by joseph izang
parent 801744f612
commit 8a4ed37739
  1. 4
      apps/remix-ide-e2e/src/tests/specialFunctions.test.ts

@ -177,10 +177,10 @@ module.exports = {
.pause(1000) .pause(1000)
.perform((done) => { .perform((done) => {
browser.getAddressAtPosition(4, (address) => { browser.getAddressAtPosition(4, (address) => {
browser.sendLowLevelTx(address, '1', '0xaa') browser.sendLowLevelTx(address, '999999998765257135', '0xaa')
.pause(1000) .pause(1000)
.journalLastChildIncludes('to: CheckSpecials.(fallback)') .journalLastChildIncludes('to: CheckSpecials.(fallback)')
.journalLastChildIncludes('value: 1 wei') .journalLastChildIncludes('value: 999999998765257135 wei')
.journalLastChildIncludes('data: 0xaa') .journalLastChildIncludes('data: 0xaa')
.perform(done) .perform(done)
}) })

Loading…
Cancel
Save