forked from verdnatura/salix-front
ref #6248 test fixed
This commit is contained in:
parent
e60a7e28bb
commit
0c930e5de1
|
@ -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