.journalLastChildIncludes('Debug the transaction to get more information.')
},
'Should Compile and Deploy a contract which define a custom error, the error should be logged in the terminal , using London VM Fork':function(browser: NightwatchBrowser){
browser
.click('*[data-id="settingsVMLondonMode"]')// switch to London fork
.selectAccount('0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c')// this account will be used for this test suite
<divclass=${css.dialogParagraph}>Aconnectionwillstartasessionbetween<em>${window.location.origin}</em> and your local file system <i>ws://127.0.0.1:65520</i>
<divclass=${css.dialogParagraph}>Whenconnected,asessionwillbestartedbetween<em>${window.location.origin}</em> and your local file system at <i>ws://127.0.0.1:65520</i>
this.currentFork=this.defaultFork// in the case of injected and web3, we default to the last fork.
if(context==='injected'){
if(injectedProvider===undefined){
infoCb('No injected Web3 provider found. Make sure your provider (e.g. MetaMask) is active and running (when recently activated you may have to reload the page).')
@ -147,7 +157,7 @@ export class ExecutionContext {
@ -238,7 +238,7 @@ export function runTest (testName: string, testObject: any, contractDetails: Com
sender=opts.accounts[sender]
}
}
letsendParams: Record<string,string>|null=null
letsendParams: Record<string,any>|null=null
if(sender)sendParams={from:sender}
if(func.inputs&&func.inputs.length>0){returnresultsCallback(newError(`Method '${func.name}' can not have parameters inside a test contract`),{passingNum,failureNum,timePassed})}
console.log('\x1b[33m%s\x1b[0m','[WARN] Any application that runs on your computer can potentially read from and write to all files in the directory.')
console.log('\x1b[33m%s\x1b[0m','[WARN] Symbolic links are not forwarded to Remix IDE\n')