diff --git a/cypress/e2e/sidebarUtils.ts b/cypress/e2e/sidebarUtils.ts index cb2859f19..652f29991 100644 --- a/cypress/e2e/sidebarUtils.ts +++ b/cypress/e2e/sidebarUtils.ts @@ -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') }