mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 23:13:04 +00:00
[DURACOM-145] Handled collection step
on a submission form
This commit is contained in:
@@ -249,6 +249,12 @@ describe('SubmissionFormCollectionComponent Component', () => {
|
||||
expect(dropDown).toBeFalsy();
|
||||
});
|
||||
|
||||
it('the dropdown button should be disabled when isReadonly is true', () => {
|
||||
comp.isReadonly = true;
|
||||
fixture.detectChanges();
|
||||
expect(dropdowBtn.nativeNode.attributes.disabled).toBeDefined();
|
||||
});
|
||||
|
||||
it('should be simulated when the drop-down menu is closed', () => {
|
||||
spyOn(comp, 'onClose');
|
||||
comp.onClose();
|
||||
|
Reference in New Issue
Block a user