Skip to content

Commit

Permalink
Fix posting a comment in e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <[email protected]>
  • Loading branch information
artonge committed Mar 18, 2024
1 parent bfe7267 commit bff6031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/sidebarUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function addComment(fileName: string, comment: string) {
cy.get('#app-sidebar-vue').contains('Comments').click()
cy.get('.comment__editor .rich-contenteditable__input').focus()
cy.get('.comment__editor .rich-contenteditable__input').type(comment)
cy.get('button.comment__submit').click()
cy.get('.comment__submit button').click()

cy.wait('@postComment')
}

0 comments on commit bff6031

Please sign in to comment.