Skip to content

Commit

Permalink
Update cypress test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasdeluna committed Sep 10, 2024
1 parent e00bf37 commit f2947a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/event_visit_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ describe('View event', () => {
cy.focused().type('This is the top comment');
cy.contains('button', 'Kommenter').should('be.visible').click();

cy.get(c('Comment__comment')).last().contains('This is the top comment');
cy.get(c('Comment__comment')).first().contains('This is the top comment');
cy.contains('button', 'Svar').click();

cy.get(c('CommentForm'))
Expand Down

0 comments on commit f2947a4

Please sign in to comment.