ref #6248 breadcrumbs created #99
|
@ -11,9 +11,9 @@ describe('VnBreadCrumbs', () => {
|
||||||
it('should get the correct breadcrumbs', () => {
|
it('should get the correct breadcrumbs', () => {
|
||||||
cy.get('[href="#/customer"]').click();
|
cy.get('[href="#/customer"]').click();
|
||||||
cy.get('.q-breadcrumbs .q-breadcrumbs--last').should('have.length', 1);
|
cy.get('.q-breadcrumbs .q-breadcrumbs--last').should('have.length', 1);
|
||||||
cy.get('.q-breadcrumbs .q-breadcrumbs--last').contains('Clientes');
|
cy.get('.q-breadcrumbs .q-breadcrumbs--last').contains('List');
|
||||||
cy.get('.q-infinite-scroll > :nth-child(1)').click();
|
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').should('have.length', 2);
|
||||||
cy.get('.q-breadcrumbs .q-breadcrumbs__el').eq(1).contains('Resumen');
|
cy.get('.q-breadcrumbs .q-breadcrumbs__el').eq(1).contains('Summary');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue