cypress expected { Object (length, prevObject, ...) } to be visible code example
Example: cypress number of elements
cy.get('.datatable').find('tr').should('have.length', 4)
cy.get('.datatable').find('tr').should('have.length', 4)