keep txnumber in input

pull/5370/head
lianahus 4 years ago committed by Liana Husikyan
parent 28b8a29ca4
commit 9994e42b8c
  1. 3
      apps/remix-ide-e2e/src/tests/debugger.test.ts
  2. 6
      libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx
  3. 1022
      package-lock.json
  4. 14
      package.json

@ -67,7 +67,7 @@ module.exports = {
.click('.ace_gutter-cell:nth-of-type(20)')
.waitForElementVisible('*[data-id="buttonNavigatorJumpPreviousBreakpoint"]')
.click('*[data-id="buttonNavigatorJumpPreviousBreakpoint"]')
.pause(5000)
.pause(2000)
.assert.containsText('*[data-id="stepdetail"]', 'vm trace step:\n0')
.assert.containsText('*[data-id="stepdetail"]', 'execution step:\n0')
.click('*[data-id="buttonNavigatorJumpNextBreakpoint"]')
@ -183,6 +183,7 @@ module.exports = {
.getEditorValue((content) => {
browser.assert.ok(content.indexOf('if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }') != -1, 'current displayed content is not a generated source')
})
.modalFooterOKClick()
.click('*[data-id="debuggerTransactionStartButton"]')
},

@ -143,8 +143,7 @@ export const DebuggerUI = (props: DebuggerUIProps) => {
vmDebugger: false,
vmDebuggerHead: false
},
debugging: false,
txNumber: ''
debugging: false
}
})
}
@ -230,7 +229,8 @@ export const DebuggerUI = (props: DebuggerUIProps) => {
setState(prevState => {
return {
...prevState,
validationError: ''
validationError: '',
txNumber: txHash
}
})
startDebugging(null, txHash, null)

1022
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -83,7 +83,6 @@
"nightwatch_local_runAndDeploy": "npm run build:e2e & nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js dist/apps/remix-ide-e2e/src/tests/runAndDeploy.js --env=chrome-runAndDeploy",
"nightwatch_local_url": "npm run build:e2e & nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js dist/apps/remix-ide-e2e/src/tests/url.test.js --env=chrome",
"nightwatch_local_verticalIconscontextmenu": "npm run build:e2e & nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js dist/apps/remix-ide-e2e/src/tests/verticalIconsPanel.test.js --env=chrome",
"onchange": "onchange apps/remix-ide/build/app.js -- npm-run-all lint",
"remixd": "nx build remixd & nx serve remixd --folder=./apps/remix-ide/contracts --remixide=http://127.0.0.1:8080",
"selenium": "selenium-standalone start",
@ -145,6 +144,7 @@
"chokidar": "^2.1.8",
"color-support": "^1.1.3",
"commander": "^2.20.3",
"document-register-element": "1.13.1",
"ethereumjs-block": "^2.2.2",
"ethereumjs-tx": "^2.1.2",
"ethereumjs-vm": "4.1.3",
@ -158,11 +158,11 @@
"react-beautiful-dnd": "^13.0.0",
"react-bootstrap": "^1.3.0",
"react-dom": "16.13.1",
"selenium": "^2.20.0",
"signale": "^1.4.0",
"time-stamp": "^2.2.0",
"winston": "^3.3.3",
"ws": "^7.3.0",
"document-register-element": "1.13.1"
"ws": "^7.3.0"
},
"devDependencies": {
"@babel/core": "^7.4.5",
@ -187,9 +187,11 @@
"@nrwl/web": "10.0.6",
"@nrwl/workspace": "10.0.6",
"@resolver-engine/imports": "^0.3.0",
"@testing-library/react": "10.4.1",
"@types/axios": "^0.14.0",
"@types/chai": "^4.2.11",
"@types/fs-extra": "^9.0.1",
"@types/jest": "25.1.4",
"@types/mocha": "^7.0.2",
"@types/nightwatch": "^1.1.6",
"@types/node": "~8.9.4",
@ -256,7 +258,7 @@
"mkdirp": "^0.5.1",
"mocha": "^8.0.1",
"nanohtml": "^1.6.3",
"nightwatch": "^1.3.6",
"nightwatch": "^1.5.1",
"nodemon": "^2.0.4",
"notify-error": "^1.2.0",
"npm-link-local": "^1.1.0",
@ -285,8 +287,6 @@
"webworkify-webpack": "^2.1.5",
"worker-loader": "^2.0.0",
"yo-yo": "github:ioedeveloper/yo-yo",
"yo-yoify": "^3.7.3",
"@types/jest": "25.1.4",
"@testing-library/react": "10.4.1"
"yo-yoify": "^3.7.3"
}
}

Loading…
Cancel
Save