Undo vm trace step change

pull/453/head
ioedeveloper 4 years ago
parent 19289bd5fe
commit c8cdb1f48a
  1. 10
      apps/remix-ide-e2e/src/tests/debugger.test.ts
  2. 1
      apps/remix-ide/src/app/tabs/debugger-tab.js

@ -45,7 +45,7 @@ module.exports = {
.pause(2000)
.click('*[data-id="dropdownPanelSolidityLocals"]')
.assert.containsText('*[data-id="solidityLocals"]', 'No data available')
.assert.containsText('*[data-id="stepdetail"]', 'vm trace step:\n91')
.assert.containsText('*[data-id="stepdetail"]', 'vm trace step:\n92')
},
'Should step back and forward transaction': function (browser: NightwatchBrowser) {
@ -53,12 +53,12 @@ module.exports = {
.waitForElementPresent('*[data-id="buttonNavigatorIntoBack"]')
.scrollAndClick('*[data-id="buttonNavigatorIntoBack"]')
.pause(2000)
.assert.containsText('*[data-id="stepdetail"]', 'vm trace step:\n90')
.assert.containsText('*[data-id="stepdetail"]', 'execution step:\n90')
.click('*[data-id="buttonNavigatorIntoForward"]')
.pause(2000)
.assert.containsText('*[data-id="stepdetail"]', 'vm trace step:\n91')
.assert.containsText('*[data-id="stepdetail"]', 'execution step:\n91')
.click('*[data-id="buttonNavigatorIntoForward"]')
.pause(2000)
.assert.containsText('*[data-id="stepdetail"]', 'vm trace step:\n92')
.assert.containsText('*[data-id="stepdetail"]', 'execution step:\n92')
},
'Should jump through breakpoints': function (browser: NightwatchBrowser) {

@ -86,6 +86,7 @@ class DebuggerTab extends ViewPlugin {
deactivate () {
this.removeHighlights = true
this.renderComponent()
super.deactivate()
}

Loading…
Cancel
Save