|
|
|
@ -178,15 +178,18 @@ function testSignature (browser, callback) { |
|
|
|
|
.click(instanceSelector + ' > div > button') |
|
|
|
|
.getAttribute(instanceSelector, 'id', (result) => { |
|
|
|
|
// skip 'instance' part of e.g. 'instance0x692a70d2e424a56d2c6c27aa97d1a86395877b3a'
|
|
|
|
|
const address = result.value.slice('instance'.length) |
|
|
|
|
// const address = result.value.slice('instance'.length)
|
|
|
|
|
browser.clickFunction('ecrecovery - call', {types: 'bytes32 hash, bytes sig', values: `"${hash.value}","${signature.value}"`}).perform( |
|
|
|
|
() => { |
|
|
|
|
callback(null, browser) |
|
|
|
|
/* |
|
|
|
|
contractHelper.verifyCallReturnValue( |
|
|
|
|
browser, |
|
|
|
|
address, |
|
|
|
|
['0: address: 0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c'], |
|
|
|
|
() => { callback(null, browser) } |
|
|
|
|
) |
|
|
|
|
*/ |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|