diff --git a/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html b/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html index 4b697dbcaf..ec4dcd879a 100644 --- a/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +++ b/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html @@ -4,14 +4,12 @@ > record.metadata.about

-
+

diff --git a/libs/ui/elements/src/lib/metadata-info/metadata-info.component.spec.ts b/libs/ui/elements/src/lib/metadata-info/metadata-info.component.spec.ts index 19b3ffbc84..eaba09c8d0 100644 --- a/libs/ui/elements/src/lib/metadata-info/metadata-info.component.spec.ts +++ b/libs/ui/elements/src/lib/metadata-info/metadata-info.component.spec.ts @@ -43,7 +43,7 @@ describe('MetadataInfoComponent', () => { }) it('should not display the abstract section', () => { const displayedElement = - fixture.nativeElement.querySelector('.md-description') + fixture.nativeElement.querySelector('.md-description p') expect(displayedElement).toBeFalsy() }) }) @@ -69,7 +69,7 @@ describe('MetadataInfoComponent', () => { }) it('should display the abstract section', () => { const displayedElement = - fixture.nativeElement.querySelector('.md-description') + fixture.nativeElement.querySelector('.md-description p') expect(displayedElement).toBeTruthy() }) })