Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamMorrow committed Aug 8, 2024
1 parent 5327f98 commit 3a64259
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion LiftLog.Cypress/cypress/e2e/completing-a-session.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ describe('Completing a session', () => {

cy.navigate('History')

cy.getA('.itemlist .item').first('.item').should('contain.text', 'Freeform Session').should('contain.text', '7.5kg')
cy.getA('[data-cy=session-summary-title]').first().should('contain.text', 'Freeform Session');

cy.getA('[data-cy=session-summary]').should('contain.text', '7.5kg')
})
})

Expand Down

0 comments on commit 3a64259

Please sign in to comment.