Skip to content

Commit

Permalink
Update metadata assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
ioedeveloper committed Mar 26, 2020
1 parent 01d21e6 commit 49c9de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-browser/tests/publishContract.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
.verifyContracts(['Ballot'])
.click('#publishOnIpfs')
.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', '', '')
done()
})
Expand Down

0 comments on commit 49c9de7

Please sign in to comment.