fix: refs #8583 workerSummary test

This commit is contained in:
Carlos Satorres 2025-02-21 15:39:32 +01:00
parent 2199903cae
commit 6514490622
1 changed files with 6 additions and 1 deletions

View File

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