How to confirm list has expected number of items

cy.get('.results-list').should('have.length', 5)

Last updated

Was this helpful?