/// describe('VnBreadcrumbs', () => { const firstCard = '.q-infinite-scroll > :nth-child(1)'; const lastBreadcrumb = '.q-breadcrumbs--last > .q-breadcrumbs__el'; beforeEach(() => { cy.viewport(1920, 1080); cy.login('developer'); cy.visit('/'); }); it('should not be breadcrumbs', () => { cy.get('.q-breadcrumbs').should('not.exist'); }); it('should get the correct breadcrumbs', () => { cy.visit('#/customer/list'); cy.get('.q-breadcrumbs__el').should('have.length', 2); cy.get(firstCard).click(); cy.get(`${lastBreadcrumb} > .q-icon`).should('have.text', 'launch'); }); });