Skip to content

Commit

Permalink
Merge pull request #42 from thomassth/fix-cypress-tests
Browse files Browse the repository at this point in the history
fix cypress tests
  • Loading branch information
Zen-cronic authored Oct 19, 2024
2 parents b868889 + 195a240 commit fae7a68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion e2e/cypress/e2e/client-admin/conversation.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ describe('Conversation: Configure', function () {
cy.wait('@participationInit')

cy.get('[data-view-name="participationView"]').should('be.visible')
cy.get('h2').contains('Test topic closed').should('be.visible')
cy.get('h1').contains('Test topic closed').should('be.visible')
})
})
})
6 changes: 3 additions & 3 deletions e2e/cypress/e2e/client-participation/embeds.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('Embedded Conversations', function () {

cy.getIframeBody()
.find('.conversationViewHeadline')
.find('h2')
.find('h1')
.should('contain', topic)
.siblings('p')
.should('contain', description)
Expand Down Expand Up @@ -120,7 +120,7 @@ describe('Embedded Conversations', function () {
.find('[data-view-name="root"]')
.should('be.visible')
.find('.conversationViewHeadline')
.find('h2')
.find('h1')
.should('contain', topic)
.siblings('p')
.should('not.exist')
Expand Down Expand Up @@ -160,7 +160,7 @@ describe('Embedded Conversations', function () {
cy.getIframeBody()
.find('[data-view-name="root"]')
.should('be.visible')
.find('.conversationViewHeadline h2')
.find('.conversationViewHeadline h1')
.should('not.exist')
})
})
Expand Down

0 comments on commit fae7a68

Please sign in to comment.