ref #6248 breadcrumbs created #99

Merged
jorgep merged 7 commits from 6248-createBreadCrumbs into dev 2023-10-30 12:56:36 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 0c930e5de1 - Show all commits

View File

@ -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');
}); });
}); });