2022-11-28 08:04:41 +00:00
|
|
|
describe('WorkerSummary', () => {
|
|
|
|
beforeEach(() => {
|
|
|
|
cy.viewport(1280, 720)
|
|
|
|
cy.login('developer')
|
|
|
|
cy.visit('/#/worker/19/summary');
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should load worker summary', () => {
|
2023-04-27 08:40:00 +00:00
|
|
|
cy.get('div[class="header bg-primary q-pa-sm q-mb-md"').should('have.text', '19 - salesBoss salesBoss');
|
2022-11-28 08:04:41 +00:00
|
|
|
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('div[class="q-item__section column q-item__section--main justify-center"]').eq(0).should('have.text', 'NamesalesBossNick');
|
|
|
|
});
|
|
|
|
|
2023-04-27 08:40:00 +00:00
|
|
|
});
|