diff --git a/cypress/e2e/event_visit_spec.js b/cypress/e2e/event_visit_spec.js index a84b7cc406..00f0e55a4b 100644 --- a/cypress/e2e/event_visit_spec.js +++ b/cypress/e2e/event_visit_spec.js @@ -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'))