Cypress - Assertions
Consider this Cypress code snippet:
What will happen if the page has only 3 elements with class
cy.get('.todo-item').should('have.length', 4)
cy.get('.todo-item').eq(0).should('contain.text', 'Buy milk')What will happen if the page has only 3 elements with class
todo-item?