/// describe('VnBreadCrumbs', () => { beforeEach(() => { cy.login('developer'); cy.visit('/'); }); it('should not be breadcrumbs', () => { cy.get('.q-breadcrumbs').should('not.exist'); }); it('should get the correct breadcrumbs', () => { cy.get('[href="#/customer"]').click(); cy.get('.q-breadcrumbs .q-breadcrumbs--last').should('have.length', 1); cy.get('.q-breadcrumbs .q-breadcrumbs--last').contains('List'); cy.get('.q-infinite-scroll > :nth-child(1)').click(); cy.get('.q-breadcrumbs .q-breadcrumbs__el').should('have.length', 2); cy.get('.q-breadcrumbs .q-breadcrumbs__el').eq(1).contains('Summary'); }); });