Testing Recipes
Search...
Ctrl
K
Cypress
How to confirm list has expected number of items
Copy
cy.get('.results-list').should('have.length', 5)
Previous
How to confirm text value of input field
Next
How to stub a GET network request
Last updated
5 years ago
Was this helpful?