refactor(tests): added todo note for tasks test

This commit is contained in:
Dominik Biedebach
2022-05-12 11:30:57 +02:00
committed by Dominik
parent 2a9467ef34
commit 528ba5d71c

View File

@@ -18,6 +18,8 @@ context('/src/Examples/Tasks/React/', () => {
cy.get('.ProseMirror input[type="checkbox"]').should('have.length', 3) cy.get('.ProseMirror input[type="checkbox"]').should('have.length', 3)
}) })
// TODO: Make this test work properly - right now it's not doing what it
// should do.
it('should check and uncheck tasks on click', () => { it('should check and uncheck tasks on click', () => {
cy.get('.ProseMirror').type('Cook food{enter}Eat food{enter}Clean dishes') cy.get('.ProseMirror').type('Cook food{enter}Eat food{enter}Clean dishes')
cy.get('.ProseMirror').find('input[type="checkbox"]').then(console.log) cy.get('.ProseMirror').find('input[type="checkbox"]').then(console.log)