2022-11-28 08:04:41 +00:00
|
|
|
describe('WorkerSummary', () => {
|
|
|
|
beforeEach(() => {
|
2023-08-14 11:52:25 +00:00
|
|
|
cy.viewport(1280, 720);
|
|
|
|
cy.login('developer');
|
2022-11-28 08:04:41 +00:00
|
|
|
cy.visit('/#/worker/19/summary');
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should load worker summary', () => {
|
2023-08-14 11:52:25 +00:00
|
|
|
cy.get('.summaryHeader > div').should('have.text', '19 - salesBoss salesBoss');
|
|
|
|
cy.get(':nth-child(1) > :nth-child(2) > .value > span').should(
|
|
|
|
'have.text',
|
|
|
|
'salesBossNick'
|
|
|
|
);
|
2022-11-28 08:04:41 +00:00
|
|
|
});
|
2023-04-27 08:40:00 +00:00
|
|
|
});
|