Skip to content

Commit

Permalink
e2e: add new txData options
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Mucha <[email protected]>
  • Loading branch information
drptbl committed Nov 2, 2022
1 parent b89ddbb commit 8743268
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/e2e/specs/metamask-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,12 @@ describe('Metamask', () => {
it(`confirmMetamaskTransaction should confirm transaction for token creation (contract deployment) and check tx data`, () => {
cy.get('#createToken').click();
cy.confirmMetamaskTransaction().then(txData => {
expect(txData.recipientPublicAddress).to.be.not.empty;
expect(txData.networkName).to.be.not.empty;
expect(txData.customNonce).to.be.not.empty;
expect(txData.origin).to.be.not.empty;
expect(txData.bytes).to.be.not.empty;
expect(txData.hexData).to.be.not.empty;
expect(txData.customNonce).to.be.not.empty;
expect(txData.confirmed).to.be.true;
});
cy.contains('#tokenAddress', /0x.*/, { timeout: 60000 })
Expand Down

0 comments on commit 8743268

Please sign in to comment.