fix e2e tests

pull/1/head
yann300 5 years ago
parent 5d36088dec
commit 105118530b
  1. 32
      package-lock.json
  2. 2
      package.json
  3. 5
      test-browser/tests/runAndDeploy.js

32
package-lock.json generated

@ -3504,9 +3504,9 @@
}
},
"caniuse-lite": {
"version": "1.0.30001046",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001046.tgz",
"integrity": "sha512-CsGjBRYWG6FvgbyGy+hBbaezpwiqIOLkxQPY4A4Ea49g1eNsnQuESB+n4QM0BKii1j80MyJ26Ir5ywTQkbRE4g==",
"version": "1.0.30001048",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001048.tgz",
"integrity": "sha512-g1iSHKVxornw0K8LG9LLdf+Fxnv7T1Z+mMsf0/YYLclQX4Cd522Ap0Lrw6NFqHgezit78dtyWxzlV2Xfc7vgRg==",
"dev": true
},
"capture-stack-trace": {
@ -9351,9 +9351,9 @@
"dev": true
},
"is-promise": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz",
"integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o="
"version": "2.2.2",
"resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz",
"integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ=="
},
"is-property": {
"version": "1.0.2",
@ -14337,22 +14337,22 @@
}
},
"remix-debug": {
"version": "0.4.3",
"resolved": "https://registry.npmjs.org/remix-debug/-/remix-debug-0.4.3.tgz",
"integrity": "sha512-dcfCdeX+8dg0qHjVSP4/NRNV/JmzAiHh5I4IUmt7kftrC0/HbB7eEMR8CvYzy8Lj0w+i9Bwt75Ucilke0vawRw==",
"version": "0.4.1-dev2742",
"resolved": "https://registry.npmjs.org/remix-debug/-/remix-debug-0.4.1-dev2742.tgz",
"integrity": "sha512-GtHrA+bGtymiepLLzUVxkQphE29Ek0unUBTM33TY2fOR+BdHG6iwqtd/npvcCyJFZK/WcnmSuJVAoNXSPEm24w==",
"dev": true,
"requires": {
"commander": "^2.19.0",
"ethereumjs-util": "^6.2.0",
"ethereumjs-vm": "4.1.3",
"remix-lib": "0.4.28",
"remix-lib": "0.4.26",
"web3": "^1.2.4"
},
"dependencies": {
"remix-lib": {
"version": "0.4.28",
"resolved": "https://registry.npmjs.org/remix-lib/-/remix-lib-0.4.28.tgz",
"integrity": "sha512-XtknIS1r0VvSoXmujV+ziuXK5JOl0OAdzKGnVFqEIcVHTDQ+1Y63wa7tIgSy2x2E7rS5U2SrB7ORg6JQeGOUEQ==",
"version": "0.4.26",
"resolved": "https://registry.npmjs.org/remix-lib/-/remix-lib-0.4.26.tgz",
"integrity": "sha512-KX1mqtiVWRC7RvAEsK81RGto3/FGJ6PZPlAtQR7bP6yqJty2kkosApWIizYjCrkDjkoRO1A/m2eFbPrJUOfzHg==",
"dev": true,
"requires": {
"async": "^2.1.2",
@ -17436,9 +17436,9 @@
"dev": true
},
"ts-node": {
"version": "8.9.0",
"resolved": "https://registry.npmjs.org/ts-node/-/ts-node-8.9.0.tgz",
"integrity": "sha512-rwkXfOs9zmoHrV8xE++dmNd6ZIS+nmHHCxcV53ekGJrxFLMbp+pizpPS07ARvhwneCIECPppOwbZHvw9sQtU4w==",
"version": "8.9.1",
"resolved": "https://registry.npmjs.org/ts-node/-/ts-node-8.9.1.tgz",
"integrity": "sha512-yrq6ODsxEFTLz0R3BX2myf0WBCSQh9A+py8PBo1dCzWIOcvisbyH6akNKqDHMgXePF2kir5mm5JXJTH3OUJYOQ==",
"dev": true,
"requires": {
"arg": "^4.1.0",

@ -56,7 +56,7 @@
"npm-run-all": "^4.0.2",
"onchange": "^3.2.1",
"remix-analyzer": "0.5.0",
"remix-debug": "0.4.3",
"remix-debug": "0.4.1-dev2742",
"remix-lib": "^0.4.25",
"remix-simulator": "0.1.9-beta.3",
"remix-solidity": "0.3.28",

@ -169,7 +169,7 @@ module.exports = {
.useCss().switchBrowserTab(0)
.refresh()
.clickLaunchIcon('pluginManager') // load debugger and source verification
.scrollAndClick('#pluginManager article[id="remixPluginManagerListItem_source-verification"] button')
// .scrollAndClick('#pluginManager article[id="remixPluginManagerListItem_source-verification"] button')
// debugger already activated .scrollAndClick('#pluginManager article[id="remixPluginManagerListItem_debugger"] button')
.clickLaunchIcon('udapp')
.waitForElementPresent('*[data-id="settingsSelectEnvOptions"]')
@ -179,9 +179,8 @@ module.exports = {
.clickLaunchIcon('debugger')
.setValue('*[data-id="debuggerTransactionInput"]', '0x5db1b4212e4f83e36bf5bc306888df50f01a73708a71322bdc6f39a76a7ebdaa') // debug tx
.click('*[data-id="debuggerTransactionStartButton"]')
.waitForElementVisible('*[data-id="treeViewDivvm trace step"]', 30000)
.assert.containsText('*[data-id="stepdetail"]', 'loaded address: 0x96d87AB604AEC7FB26C2E046CA5e6eBBB9D8b74D')
.waitForElementVisible('*[data-id="treeViewDivto"]', 30000)
.assert.containsText('*[data-id="stepdetail"]', 'loaded address: 0x96d87AB604AEC7FB26C2E046CA5e6eBBB9D8b74D')
.assert.containsText('*[data-id="solidityLocals"]', 'to: 0x6C3CCC7FBA111707D5A1AAF2758E9D4F4AC5E7B1')
.end()
},

Loading…
Cancel
Save