passing Should call the debugger api test

pull/1342/head
davidzagi93@gmail.com 3 years ago
parent 772de893df
commit 5d9b4b67fc
  1. 12
      apps/remix-ide-e2e/src/tests/debugger.spec.ts

@ -187,16 +187,8 @@ module.exports = {
browser
.addFile('test_jsGetTrace.js', { content: jsGetTrace })
.executeScript('remix.exeCurrent()')
.pause(5000)
.execute(function () {
const env: any = document.getElementById('journal')
return env.value
}, [], function (result) {
console.log({ result })
browser.assert.ok(result.value.includes('result { "gas": "0x575f", "return": "0x0000000000000000000000000000000000000000000000000000000000000000", "structLogs":'), 'value not found')
})
.pause(5000)
.waitForElementContainsText('*[data-id="terminalJournal"]', 'result { "gas": "0x575f", "return": "0x0000000000000000000000000000000000000000000000000000000000000000", "structLogs":', 60000)
.pause(1000)
.waitForElementContainsText('*[data-id="terminalJournal"]', '{"gas":"0x575f","return":"0x0000000000000000000000000000000000000000000000000000000000000000","structLogs":', 60000)
},
'Should call the debugger api: debug': function (browser: NightwatchBrowser) {

Loading…
Cancel
Save