From 08d525155018c7d28afcdc9bbf71a8fff6ebf0b1 Mon Sep 17 00:00:00 2001 From: kyeongsoosoo Date: Wed, 20 Apr 2022 21:21:36 +0900 Subject: [PATCH] fix cypress test --- webapp/cypress/integration/createBoard.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/webapp/cypress/integration/createBoard.ts b/webapp/cypress/integration/createBoard.ts index 512ed5c62..431420fe8 100644 --- a/webapp/cypress/integration/createBoard.ts +++ b/webapp/cypress/integration/createBoard.ts @@ -194,10 +194,13 @@ describe('Create and delete board / card', () => { cy.get('.ViewHeader').contains('New').click() cy.get('.CardDetail').should('exist') - cy.log('**Add comment**') - cy.get('.CommentsList').findAllByTestId('preview-element').click() + cy.wait(1000) - cy.get('.MarkdownEditorInput').should('exist'). + cy.log('**Add comment**') + cy.get('.CommentsList'). + findAllByTestId('preview-element'). + click(). + get('.CommentsList .MarkdownEditorInput'). type('Test Text') cy.log('**Cut comment**')