'Should Compile and Deploy a contract which define a custom error, the error should be logged in the terminal #group3':function(browser: NightwatchBrowser){
@ -145,8 +146,7 @@ module.exports = {
.clickLaunchIcon('udapp')
.selectAccount('0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c')// this account will be used for this test suite
.journalLastChildIncludes('Debug the transaction to get more information.')
.click('*[data-id="deployAndRunClearInstances"]')
},
'Should Compile and Deploy a contract which define a custom error, the error should be logged in the terminal , using London VM Fork #group3':function(browser: NightwatchBrowser){
@ -168,8 +169,7 @@ module.exports = {
.click('*[data-id="settingsVMLondonMode"]')// switch to London fork
.selectAccount('0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c')// this account will be used for this test suite
.journalLastChildIncludes('Debug the transaction to get more information.')
},
'Should Compile and Deploy a contract which define a custom error in a library, the error should be logged in the terminal':function(browser: NightwatchBrowser){
if(userdoc&&(userdocasany).notice)customError+=' : '+(userdocasany).notice// we append the user doc if any
}catch(e){
console.error(e.message)
}
}
letinputIndex=0
for(constinputoffunctionDesc.inputs){
constinputKey=input.name||inputIndex
constv=decodedCustomErrorInputs[inputKey]
decodedCustomErrorInputsClean[inputKey]={
value: v.toString?v.toString():v
}
if(devdoc&&(devdocasany).params){
decodedCustomErrorInputsClean[input.name].documentation=(devdocasany).params[inputKey]// we add the developer documentation for this input parameter if any
decodedCustomErrorInputsClean[inputKey]={
value: v.toString?v.toString():v
}
if(devdoc&&(devdocasany).params){
decodedCustomErrorInputsClean[input.name].documentation=(devdocasany).params[inputKey]// we add the developer documentation for this input parameter if any