From 574b143626d836e2443bf05c6b62de108e3ec771 Mon Sep 17 00:00:00 2001
From: jtubau <jtubau@verdnatura.es>
Date: Fri, 7 Mar 2025 15:50:45 +0100
Subject: [PATCH] test: refs #8626 update assertion in routeList.spec.js to use
 'should' syntax

---
 test/cypress/integration/route/routeList.spec.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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