0
0
Fork 0

ref #6248 test fixed

This commit is contained in:
Jorge Penadés 2023-10-13 12:36:25 +02:00
parent e60a7e28bb
commit 0c930e5de1
1 changed files with 2 additions and 2 deletions

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