mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
Add test
This commit is contained in:
parent
7a31b2b57c
commit
019cc939db
@ -1711,4 +1711,13 @@ describe('retrieve metadata on submit', () => {
|
|||||||
|
|
||||||
expect(formComponent.disableSaveButton).toBeFalse();
|
expect(formComponent.disableSaveButton).toBeFalse();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('should not show next task checkbox when conditions are not met', () => {
|
||||||
|
formComponent.showNextTaskCheckbox = false;
|
||||||
|
formComponent.showCompleteButton = false;
|
||||||
|
fixture.detectChanges();
|
||||||
|
|
||||||
|
const checkbox = fixture.debugElement.query(By.css('#adf-form-open-next-task'));
|
||||||
|
expect(checkbox).toBeNull();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user