diff --git a/test/cypress/integration/route/routeList.spec.js b/test/cypress/integration/route/routeList.spec.js index 8eed1275c..8039cb17f 100644 --- a/test/cypress/integration/route/routeList.spec.js +++ b/test/cypress/integration/route/routeList.spec.js @@ -55,6 +55,6 @@ describe('Route', () => { it('Should open the worker summary pop-up', () => { cy.get(selectors.workerLink).click(); - cy.validateContent(':nth-child(1) > .value > span', 'logistic'); + cy.get(':nth-child(1) > .value > span').should('contain', 'logistic'); }); });