Update vmdebugger.js

pull/3094/head
yann300 6 years ago committed by GitHub
parent f3671b124a
commit 1be7ab1e3a
  1. 4
      test-browser-debugger/test/vmdebugger.js

@ -40,8 +40,8 @@ function loadTraceNotFound (browser) {
return document.querySelector('div[class^="container"] #error').innerHTML
}, [], function (result) {
console.log(result.value)
if (result.value.indexOf('unable to retrieve tx 0x20ef65b8b186ca942zcccd634f37074dde49b541c27994fc7596740ef44cfd51') === -1) {
browser.assert.fail(' "unable to retrieve tx ..." error message should have been displayed ', 'info about error', '')
if (result.value.indexOf('0x20ef65b8b186ca942zcccd634f37074dde49b541c27994fc7596740ef44cfd51') === -1) {
browser.assert.fail(' error with transaction hash should have been displayed', 'info about error', '')
}
})
return browser

Loading…
Cancel
Save