refs 5987 workerList test fixed
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
This commit is contained in:
parent
10efafaad8
commit
746bb8962d
|
@ -18,21 +18,9 @@ describe('WorkerList', () => {
|
|||
});
|
||||
|
||||
it('should open the worker summary', () => {
|
||||
cy.get('div.text-h6')
|
||||
.parentsUntil('div.q-card')
|
||||
.find('div.q-card__actions')
|
||||
.find('button')
|
||||
.first()
|
||||
.click();
|
||||
cy.get('div[class="header bg-primary q-pa-sm q-mb-md"').should(
|
||||
'have.text',
|
||||
'1110 - Jessica Jones'
|
||||
);
|
||||
cy.get('div[class="q-item__label q-item__label--header text-h6"]')
|
||||
.eq(0)
|
||||
.should('have.text', 'Basic data');
|
||||
cy.get('div[class="q-item__label q-item__label--header text-h6"]')
|
||||
.eq(1)
|
||||
.should('have.text', 'User data');
|
||||
cy.get('.card-list-body .actions .q-btn:nth-child(2)').eq(0).click();
|
||||
cy.get('.summaryHeader div').should('have.text', '1110 - Jessica Jones');
|
||||
cy.get('.summary .header').eq(0).invoke('text').should('include', 'Basic data');
|
||||
cy.get('.summary .header').eq(1).should('have.text', 'User data');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue