.assert.containsText(`#instance${address} label[id="deployAndRunLLTxError"]`,`size of at least one byte`)
.assert.containsText(`#instance${address} label[id="deployAndRunLLTxError"]`,`the calldata should be a valid hexadecimal value with size of at least one byte.`)
.perform(done)
})
})
@ -164,6 +164,18 @@ module.exports = {
})
})
},
'Use special functions receive/fallback - receive and fallback are declared and payable, sending wei':function(browser){
.assert.containsText(`#instance${address} label[id="deployAndRunLLTxError"]`,`Both 'receive' and 'fallback' functions are not defined`)
.assert.containsText(`#instance${address} label[id="deployAndRunLLTxError"]`,`Please define a 'Fallback' function to send calldata and a either 'Receive' or payable 'Fallback' to send ethers`)