Skip to content

Commit

Permalink
test: fix e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Jul 16, 2024
1 parent 2c1d333 commit 3b05e71
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/e2e/specs/browser/index.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ describe('Browser', () => {
cy
.viewport('iphone-se2')
.visit('/browser', { login: true });
cy.getIframeBody().find('img').should('be.visible').should('length.gte', 3);
cy.getIframeBody().find('img').should('be.visible').should('length.eq', 3);
cy.matchImage();
});
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/e2e/specs/transfer/sign-transaction.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe('Sign transaction', () => {
.viewport('iphone-se2')
.visit(url.href.replace('http://localhost', ''), { login: 'wallet-empty' });
cy.get('button').contains('Confirm').click();
const skipButton = cy.get('.modal-plain .ae-button.primary');
const skipButton = cy.get('.modal-plain .ae-button.primary').contains('ok');
cy.matchImage();
skipButton.click();

Expand Down

0 comments on commit 3b05e71

Please sign in to comment.