@ -16,6 +16,7 @@ class SelectContract extends EventEmitter {
function selectContract (browser: NightwatchBrowser, contractName: string, callback: VoidFunction) {
browser.clickLaunchIcon('settings').clickLaunchIcon('udapp')
.setValue('#runTabView select[class^="contractNames"]', contractName).perform(() => {
console.log('Done!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
callback()
})
}
@ -17,7 +17,7 @@ function testContracts (browser: NightwatchBrowser, fileName: string, contractCo
browser
.clickLaunchIcon('solidity')
.addFile(fileName, contractCode)
.pause(1000)
.pause(25000)
.verifyContracts(compiledContractNames)
.perform(() => {
@ -45,8 +45,8 @@ module.exports = {
.pause(2000)
.goToVMTraceStep(79)
// .checkVariableDebug('soliditystate', stateCheck)
// .checkVariableDebug('soliditylocals', localsCheck)
.checkVariableDebug('soliditystate', stateCheck)
.checkVariableDebug('soliditylocals', localsCheck)
},
'Access Ballot via at address': function (browser: NightwatchBrowser) {
@ -54,7 +54,7 @@ module.exports = {
.goToVMTraceStep(20)
// .checkVariableDebug('callstackpanel', ["0x692a70D2e424a56D2C6C27aA97D1a86395877b3A"])
.checkVariableDebug('callstackpanel', ["0x692a70D2e424a56D2C6C27aA97D1a86395877b3A"])
@ -51,9 +51,7 @@ export const DebuggerUI = ({ debuggerModule }) => {
editor.event.register('breakpointAdded', (fileName, row) => {
console.log('breakpoint triggerred!')
if (state.debugger) {
console.log('breakpoint added!')
state.debugger.breakPointManager.add({fileName: fileName, row: row})
@ -201,6 +201,7 @@ export const DropdownPanel = (props: DropdownPanelProps) => {
</TreeView>
</div>
<div className='dropdownrawcontent' hidden={true}>{ state.copiableContent }</div>
<div className='message' style={{ display: state.message.display }}>{ state.message.innerText }</div>