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', () => {
|
it('should open the worker summary', () => {
|
||||||
cy.get('div.text-h6')
|
cy.get('.card-list-body .actions .q-btn:nth-child(2)').eq(0).click();
|
||||||
.parentsUntil('div.q-card')
|
cy.get('.summaryHeader div').should('have.text', '1110 - Jessica Jones');
|
||||||
.find('div.q-card__actions')
|
cy.get('.summary .header').eq(0).invoke('text').should('include', 'Basic data');
|
||||||
.find('button')
|
cy.get('.summary .header').eq(1).should('have.text', 'User data');
|
||||||
.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');
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue