What kind of assertions I can use while running my cypress script on LambdaTest?

What kind of assertions I can use while running my cypress script on LambdaTest?

Hi Emma,

There are positive and negative assertions in Cypress

1)Positive Assertions

cy.get('li.todo').should('have.length', 3)

2)Negative Assertions

cy.get('li.todo').should('not.have.length', 2)