Skip to content

Commit

Permalink
Revert "e2e: add new txData options"
Browse files Browse the repository at this point in the history
This reverts commit 8743268.

Signed-off-by: Jakub Mucha <[email protected]>

# Conflicts:
#	tests/e2e/specs/metamask-spec.js
  • Loading branch information
drptbl committed Nov 3, 2022
1 parent 8e0a5f8 commit 0d26d42
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/e2e/specs/metamask-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@ describe('Metamask', () => {
it(`confirmMetamaskTransaction should confirm legacy transaction using default settings`, () => {
cy.get('#sendButton').click();
cy.confirmMetamaskTransaction().then(txData => {
expect(txData.recipientPublicAddress).to.be.not.empty;
expect(txData.confirmed).to.be.true;
});
});
Expand All @@ -282,7 +281,6 @@ describe('Metamask', () => {
it(`confirmMetamaskTransaction should confirm eip-1559 transaction using default settings`, () => {
cy.get('#sendEIP1559Button').click();
cy.confirmMetamaskTransaction().then(txData => {
expect(txData.recipientPublicAddress).to.be.not.empty;
expect(txData.confirmed).to.be.true;
});
});
Expand Down Expand Up @@ -317,12 +315,10 @@ 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.not.exist;
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 0d26d42

Please sign in to comment.