fix: refs #8583 workerBasicData & workerTimeControl
This commit is contained in:
parent
8478ff768f
commit
e318a46279
|
@ -1,4 +1,4 @@
|
|||
describe('WorkerSummary', () => {
|
||||
describe('WorkerBasicData', () => {
|
||||
const maritalStatusSelect = '[data-cy="MaritalStatus"]';
|
||||
const nif = '42572374H';
|
||||
const fi = '[data-cy="fi"]';
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
describe('WorkerTimeControl', () => {
|
||||
const pastMonth = '.nav-container > .row > :nth-child(1)';
|
||||
beforeEach(() => {
|
||||
cy.viewport(1280, 720);
|
||||
cy.login('developer');
|
||||
cy.visit('/#/worker/1107/time-control');
|
||||
});
|
||||
|
||||
it('should add some entries', () => {
|
||||
cy.get(pastMonth).click();
|
||||
});
|
||||
|
||||
// it('should try descriptors', () => {
|
||||
// cy.waitForElement('.summaryHeader');
|
||||
// cy.get(departmentDescriptor).click();
|
||||
// cy.get('.descriptor').should('be.visible');
|
||||
// cy.get('.q-item > .q-item__label').should('include.text', '43');
|
||||
// cy.get(roleDescriptor).click();
|
||||
// cy.get('.descriptor').should('be.visible');
|
||||
// cy.get('.q-item > .q-item__label').should('include.text', '19');
|
||||
// });
|
||||
});
|
Loading…
Reference in New Issue