mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
Updated test.
This commit is contained in:
@@ -381,18 +381,6 @@ describe('EditBitstreamPageComponent', () => {
|
|||||||
it('should set isIIIF to true', () => {
|
it('should set isIIIF to true', () => {
|
||||||
expect(comp.isIIIF).toBeTrue();
|
expect(comp.isIIIF).toBeTrue();
|
||||||
});
|
});
|
||||||
it('should put the \"IIIF Label\" input to be shown', () => {
|
|
||||||
expect(comp.formLayout.iiifLabel.grid.host).toContain('col');
|
|
||||||
});
|
|
||||||
it('should put the \"IIIF Toc\" input to be shown', () => {
|
|
||||||
expect(comp.formLayout.iiifToc.grid.host).toContain('col');
|
|
||||||
});
|
|
||||||
it('should put the \"IIIF width\" input to be shown', () => {
|
|
||||||
expect(comp.formLayout.iiifWidth.grid.host).toContain('col');
|
|
||||||
});
|
|
||||||
it('should put the \"IIIF Height\" input to be shown', () => {
|
|
||||||
expect(comp.formLayout.iiifHeight.grid.host).toContain('col');
|
|
||||||
});
|
|
||||||
it('should fill in the iiif label', () => {
|
it('should fill in the iiif label', () => {
|
||||||
expect(rawForm.iiifLabelContainer.iiifLabel).toEqual('chapter one');
|
expect(rawForm.iiifLabelContainer.iiifLabel).toEqual('chapter one');
|
||||||
});
|
});
|
||||||
@@ -512,7 +500,7 @@ describe('EditBitstreamPageComponent', () => {
|
|||||||
expect(comp.isIIIF).toBeFalse();
|
expect(comp.isIIIF).toBeFalse();
|
||||||
});
|
});
|
||||||
it('should put the \"IIIF Label\" input not to be shown', () => {
|
it('should put the \"IIIF Label\" input not to be shown', () => {
|
||||||
expect(comp.formLayout.iiifLabel.grid.host).toContain('d-none');
|
expect(rawForm.iiifLabelContainer).toBeFalsy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user