Skip to content

Commit

Permalink
fix(e2e): Fixed db migration test
Browse files Browse the repository at this point in the history
  • Loading branch information
HajekOndrej authored and mroz22 committed Nov 6, 2024
1 parent 55d663c commit 2e997ec
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@ describe('Database migration', () => {

cy.getTestElement('@switch-device/cancel-button').click();

cy.get('[data-testid^="@metadata/outputLabel"]').first().should('be.visible');
cy.get('[data-testid^="@metadata/outputLabel"]')
.first()
.scrollIntoView()
.should('be.visible');

// TODO: cypress alias is empty for unknown reason, refactor this test to playwright
// check the first tx and verify it against the stored one
Expand Down

0 comments on commit 2e997ec

Please sign in to comment.