Commit c0474406 authored by aniket-engg's avatar aniket-engg Committed by Aniket

linting fix

parent 14742577
...@@ -34,50 +34,50 @@ module.exports = { ...@@ -34,50 +34,50 @@ module.exports = {
}) })
}, },
// 'Call method from Ballot to check return value': function (browser: NightwatchBrowser) { 'Call method from Ballot to check return value': function (browser: NightwatchBrowser) {
// browser browser
// .clickFunction('winnerName - call') .clickFunction('winnerName - call')
// // Test in terminal // Test in terminal
// .testFunction('last', .testFunction('last',
// { {
// to: 'Ballot.winnerName() 0x692a70D2e424a56D2C6C27aA97D1a86395877b3A', to: 'Ballot.winnerName() 0x692a70D2e424a56D2C6C27aA97D1a86395877b3A',
// 'decoded output': { "0": "bytes32: winnerName_ 0x48656c6c6f20576f726c64210000000000000000000000000000000000000000" } 'decoded output': { 0: 'bytes32: winnerName_ 0x48656c6c6f20576f726c64210000000000000000000000000000000000000000' }
// }) })
// // Test in Udapp UI // Test in Udapp UI
// .assert.containsText('*[data-id="treeViewDiv0"]', "bytes32: winnerName_ 0x48656c6c6f20576f726c64210000000000000000000000000000000000000000") .assert.containsText('*[data-id="treeViewDiv0"]', 'bytes32: winnerName_ 0x48656c6c6f20576f726c64210000000000000000000000000000000000000000')
// }, },
// 'Debug Ballot / delegate': function (browser: NightwatchBrowser) { 'Debug Ballot / delegate': function (browser: NightwatchBrowser) {
// browser.pause(500) browser.pause(500)
// .click('*[data-id="txLoggerDebugButton0x41fab8ea5b1d9fba5e0a6545ca1a2d62fff518578802c033c2b9a031a01c31b3"]') .click('*[data-id="txLoggerDebugButton0x41fab8ea5b1d9fba5e0a6545ca1a2d62fff518578802c033c2b9a031a01c31b3"]')
// .waitForElementVisible('*[data-id="buttonNavigatorJumpPreviousBreakpoint"]') .waitForElementVisible('*[data-id="buttonNavigatorJumpPreviousBreakpoint"]')
// .click('*[data-id="buttonNavigatorJumpPreviousBreakpoint"]') .click('*[data-id="buttonNavigatorJumpPreviousBreakpoint"]')
// .pause(2000) .pause(2000)
// .waitForElementVisible('#stepdetail') .waitForElementVisible('#stepdetail')
// .goToVMTraceStep(144) .goToVMTraceStep(144)
// .pause(2000) .pause(2000)
// .checkVariableDebug('soliditystate', stateCheck) .checkVariableDebug('soliditystate', stateCheck)
// .checkVariableDebug('soliditylocals', localsCheck) .checkVariableDebug('soliditylocals', localsCheck)
// }, },
// 'Access Ballot via at address': function (browser: NightwatchBrowser) { 'Access Ballot via at address': function (browser: NightwatchBrowser) {
// browser.clickLaunchIcon('udapp') browser.clickLaunchIcon('udapp')
// .click('*[data-id="universalDappUiUdappClose"]') .click('*[data-id="universalDappUiUdappClose"]')
// .addFile('ballot.abi', { content: ballotABI }) .addFile('ballot.abi', { content: ballotABI })
// // we are not changing the visibility for not checksumed contracts // we are not changing the visibility for not checksumed contracts
// // .addAtAddressInstance('0x692a70D2e424a56D2C6C27aA97D1a86395877b3B', true, false) // .addAtAddressInstance('0x692a70D2e424a56D2C6C27aA97D1a86395877b3B', true, false)
// .clickLaunchIcon('filePanel') .clickLaunchIcon('filePanel')
// .addAtAddressInstance('0x692a70D2e424a56D2C6C27aA97D1a86395877b3A', true, true) .addAtAddressInstance('0x692a70D2e424a56D2C6C27aA97D1a86395877b3A', true, true)
// .pause(500) .pause(500)
// .waitForElementPresent('*[data-id="universalDappUiContractActionWrapper"]', 60000) .waitForElementPresent('*[data-id="universalDappUiContractActionWrapper"]', 60000)
// .click('*[data-id="universalDappUiTitleExpander"]') .click('*[data-id="universalDappUiTitleExpander"]')
// .clickFunction('delegate - transact (not payable)', { types: 'address to', values: '"0x4b0897b0513fdc7c541b6d9d7e929c4e5364d2db"' }) .clickFunction('delegate - transact (not payable)', { types: 'address to', values: '"0x4b0897b0513fdc7c541b6d9d7e929c4e5364d2db"' })
// .testFunction('last', .testFunction('last',
// { {
// status: 'false Transaction mined but execution failed', status: 'false Transaction mined but execution failed',
// 'decoded input': { 'address to': '0x4B0897b0513fdC7C541B6d9D7E929C4e5364D2dB' } 'decoded input': { 'address to': '0x4B0897b0513fdC7C541B6d9D7E929C4e5364D2dB' }
// }) })
// }, },
'Deploy and use Ballot using external web3': function (browser: NightwatchBrowser) { 'Deploy and use Ballot using external web3': function (browser: NightwatchBrowser) {
browser browser
...@@ -97,10 +97,10 @@ module.exports = { ...@@ -97,10 +97,10 @@ module.exports = {
// Test in terminal // Test in terminal
.testFunction('last', .testFunction('last',
{ {
'decoded output': { "0": "bytes32: winnerName_ 0x48656c6c6f20576f726c64210000000000000000000000000000000000000000" } 'decoded output': { 0: 'bytes32: winnerName_ 0x48656c6c6f20576f726c64210000000000000000000000000000000000000000' }
}) })
// Test in Udapp UI // Test in Udapp UI
.assert.containsText('*[data-id="treeViewDiv0"]', "bytes32: winnerName_ 0x48656c6c6f20576f726c64210000000000000000000000000000000000000000") .assert.containsText('*[data-id="treeViewDiv0"]', 'bytes32: winnerName_ 0x48656c6c6f20576f726c64210000000000000000000000000000000000000000')
.end() .end()
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment