refs #5334 basicData e2e
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2023-06-05 08:29:56 +02:00
parent 9ef51f5600
commit c1cda1a3ff
2 changed files with 6 additions and 3 deletions

View File

@ -33,10 +33,9 @@ describe('department summary path', () => {
Email: 'it@verdnatura.es',
};
const message = await page.sendForm($.form, values);
await page.reloadSection('worker.department.card.basicData');
await page.fillForm($.form, 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(formValues).toEqual(values);

View File

@ -12,12 +12,14 @@
vn-one
label="Name"
ng-model="$ctrl.department.name"
vn-name="Name"
rule>
</vn-textfield>
<vn-textfield
vn-one
label="Code"
ng-model="$ctrl.department.code"
vn-name="Code"
rule>
</vn-textfield>
</vn-horizontal>
@ -26,12 +28,14 @@
vn-one
label="Chat"
ng-model="$ctrl.department.chatName"
vn-name="Chat"
rule>
</vn-textfield>
<vn-textfield
vn-one
label="Email"
ng-model="$ctrl.department.notificationEmail"
vn-name="Email"
rule>
</vn-textfield>
</vn-horizontal>