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', () => {
|
2024-04-11 10:29:30 +00:00
|
|
|
cy.waitForElement('.summaryHeader');
|
|
|
|
cy.get('.summaryHeader > div').should('have.text', '19 - salesboss salesboss');
|
2023-08-14 11:52:25 +00:00
|
|
|
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
|
|
|
});
|