This commit is contained in:
parent
9ef51f5600
commit
c1cda1a3ff
|
@ -33,10 +33,9 @@ describe('department summary path', () => {
|
||||||
Email: 'it@verdnatura.es',
|
Email: 'it@verdnatura.es',
|
||||||
};
|
};
|
||||||
|
|
||||||
const message = await page.sendForm($.form, values);
|
await page.fillForm($.form, values);
|
||||||
await page.reloadSection('worker.department.card.basicData');
|
|
||||||
const formValues = await page.fetchForm($.form, Object.keys(values));
|
const formValues = await page.fetchForm($.form, Object.keys(values));
|
||||||
await page.click(selectors.departmentBasicData.saveButton);
|
const message = await page.sendForm($.form, values);
|
||||||
|
|
||||||
expect(message.isSuccess).toBeTrue();
|
expect(message.isSuccess).toBeTrue();
|
||||||
expect(formValues).toEqual(values);
|
expect(formValues).toEqual(values);
|
||||||
|
|
|
@ -12,12 +12,14 @@
|
||||||
vn-one
|
vn-one
|
||||||
label="Name"
|
label="Name"
|
||||||
ng-model="$ctrl.department.name"
|
ng-model="$ctrl.department.name"
|
||||||
|
vn-name="Name"
|
||||||
rule>
|
rule>
|
||||||
</vn-textfield>
|
</vn-textfield>
|
||||||
<vn-textfield
|
<vn-textfield
|
||||||
vn-one
|
vn-one
|
||||||
label="Code"
|
label="Code"
|
||||||
ng-model="$ctrl.department.code"
|
ng-model="$ctrl.department.code"
|
||||||
|
vn-name="Code"
|
||||||
rule>
|
rule>
|
||||||
</vn-textfield>
|
</vn-textfield>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
|
@ -26,12 +28,14 @@
|
||||||
vn-one
|
vn-one
|
||||||
label="Chat"
|
label="Chat"
|
||||||
ng-model="$ctrl.department.chatName"
|
ng-model="$ctrl.department.chatName"
|
||||||
|
vn-name="Chat"
|
||||||
rule>
|
rule>
|
||||||
</vn-textfield>
|
</vn-textfield>
|
||||||
<vn-textfield
|
<vn-textfield
|
||||||
vn-one
|
vn-one
|
||||||
label="Email"
|
label="Email"
|
||||||
ng-model="$ctrl.department.notificationEmail"
|
ng-model="$ctrl.department.notificationEmail"
|
||||||
|
vn-name="Email"
|
||||||
rule>
|
rule>
|
||||||
</vn-textfield>
|
</vn-textfield>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
|
|
Loading…
Reference in New Issue