|
|
|
@ -243,13 +243,25 @@ module.exports = { |
|
|
|
|
|
|
|
|
|
'Should interact with upgraded contract through provided proxy address #group1': function (browser: NightwatchBrowser) { |
|
|
|
|
browser |
|
|
|
|
.clearConsole() |
|
|
|
|
.clickInstance(1) |
|
|
|
|
.perform((done) => { |
|
|
|
|
browser.testConstantFunction(firstProxyAddress, 'version - call', null, '0:\nstring: MyTokenV2!').perform(() => { |
|
|
|
|
done() |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
.end() |
|
|
|
|
}, |
|
|
|
|
'Should debug the call': function(browser: NightwatchBrowser) { |
|
|
|
|
browser |
|
|
|
|
.debugTransaction(0) |
|
|
|
|
.waitForElementVisible({ |
|
|
|
|
locateStrategy: 'xpath', |
|
|
|
|
selector: '//*[@data-id="treeViewLivm trace step" and contains(.,"11")]', |
|
|
|
|
timeout: 60000 |
|
|
|
|
}) |
|
|
|
|
.goToVMTraceStep(146) |
|
|
|
|
.waitForElementContainsText('*[data-id="functionPanel"]', 'version()', 60000)
|
|
|
|
|
.end() |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|