From 6514490622063420b3b519cb8fb38328f933f5d6 Mon Sep 17 00:00:00 2001 From: carlossa Date: Fri, 21 Feb 2025 15:39:32 +0100 Subject: [PATCH] fix: refs #8583 workerSummary test --- test/cypress/integration/worker/workerSummary.spec.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/cypress/integration/worker/workerSummary.spec.js b/test/cypress/integration/worker/workerSummary.spec.js index 3d70fdf967..ff9995ca3b 100644 --- a/test/cypress/integration/worker/workerSummary.spec.js +++ b/test/cypress/integration/worker/workerSummary.spec.js @@ -1,4 +1,5 @@ describe('WorkerSummary', () => { + const departmentDescriptor = ':nth-child(1) > :nth-child(3) > .value > .link'; beforeEach(() => { cy.viewport(1280, 720); cy.login('developer'); @@ -10,7 +11,11 @@ describe('WorkerSummary', () => { cy.get('.summaryHeader > div').should('have.text', '19 - salesboss salesboss'); cy.get(':nth-child(1) > :nth-child(2) > .value > span').should( 'have.text', - 'salesBossNick' + 'salesBossNick', ); }); + + it('should try all descriptors', () => { + cy.waitForElement('.summaryHeader'); + }); });