|
|
@ -17,7 +17,7 @@ module.exports = { |
|
|
|
.verifyContracts(['Ballot']) |
|
|
|
.verifyContracts(['Ballot']) |
|
|
|
.click('#publishOnIpfs') |
|
|
|
.click('#publishOnIpfs') |
|
|
|
.getModalBody((value, done) => { |
|
|
|
.getModalBody((value, done) => { |
|
|
|
if (value.indexOf('Metadata published successfully.') === -1) browser.assert.fail('ipfs deploy failed', '', '') |
|
|
|
if (value.indexOf('Metadata of ballot contract was published successfully.') === -1) browser.assert.fail('ipfs deploy failed', '', '') |
|
|
|
if (value.indexOf('dweb:/ipfs') === -1) browser.assert.fail('ipfs deploy failed', '', '') |
|
|
|
if (value.indexOf('dweb:/ipfs') === -1) browser.assert.fail('ipfs deploy failed', '', '') |
|
|
|
done() |
|
|
|
done() |
|
|
|
}) |
|
|
|
}) |
|
|
|