Cypress como obter o comprimento do elemento
let countOfElements = 0;
cy.get(".element-selector").then($elements => {
countOfElements = $elements.length;
});
Obnoxious Opossum