From 2218f623d0063493148427f45a1a6c93c4747505 Mon Sep 17 00:00:00 2001 From: ajuvonen Date: Wed, 12 Jun 2024 16:20:39 +0300 Subject: [PATCH] Fix e2e test --- cypress/e2e/navigation.cy.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/e2e/navigation.cy.ts b/cypress/e2e/navigation.cy.ts index 9a7e495..f02ad70 100644 --- a/cypress/e2e/navigation.cy.ts +++ b/cypress/e2e/navigation.cy.ts @@ -7,6 +7,7 @@ describe('Navigation tests', () => { cy.location('pathname').should('contain', '/schedule'); cy.getByTestId('navbar-export-link').should('have.class', 'v-btn--disabled'); cy.getByTestId('schedule-add-week-button').click(); + cy.getByTestId('week-0').click(); cy.addTraining(false); cy.getByTestId('navbar-export-link').should('not.have.class', 'v-btn--disabled').click(); cy.location('pathname').should('contain', '/export');