Skip to content

Commit

Permalink
test: test added for edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
frazarshad committed Mar 13, 2024
1 parent 1ed63bd commit ad694af
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/e2e/specs/keplr/keplr-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,16 @@ describe('Keplr', () => {
expect(tokenValue).to.equal(331);
});
});
it(`should differntiate between keplrWindow and keplrNotificationWindow when they have the same URL`, () => {
cy.getTokenAmount('ATOM').then(tokenValue => {
expect(tokenValue).to.equal(0);
});

cy.contains('Make an Offer').click();
cy.confirmTransaction().then(taskCompleted => {
expect(taskCompleted).to.be.true;
});
});
it(`should disconnect the wallet from all the connected DAPPs`, () => {
cy.disconnectWalletFromDapp().then(taskCompleted => {
expect(taskCompleted).to.be.true;
Expand Down

0 comments on commit ad694af

Please sign in to comment.