mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-5645]Added edit functionality for each panel and updated test cases
This commit is contained in:
committed by
Anukriti Singh
parent
251b325747
commit
b44ff8aa0c
+1
@@ -22,6 +22,7 @@
|
||||
width: 80px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mat-expansion-panel:not([class*='mat-elevation-z']) {
|
||||
box-shadow: none;
|
||||
|
||||
+7
-2
@@ -95,7 +95,12 @@ describe('ContentMetadataComponent', () => {
|
||||
const clickOnGeneralInfoSave = () => {
|
||||
findSaveGeneralInfoButton().click();
|
||||
fixture.detectChanges();
|
||||
};
|
||||
}
|
||||
|
||||
const clickOnTagsSave = () => {
|
||||
findSaveTagsButton().click();
|
||||
fixture.detectChanges();
|
||||
}
|
||||
|
||||
const clickOnTagsSave = () => {
|
||||
findSaveTagsButton().click();
|
||||
@@ -813,7 +818,6 @@ describe('ContentMetadataComponent', () => {
|
||||
|
||||
describe('Display properties with aspect oriented config', () => {
|
||||
let appConfig: AppConfigService;
|
||||
let classesApi: ClassesApi;
|
||||
let expectedNode: Node;
|
||||
|
||||
const verResponse: PropertyGroup = {
|
||||
@@ -1154,6 +1158,7 @@ describe('ContentMetadataComponent', () => {
|
||||
it('should render tags after loading tags in ngOnInit', () => {
|
||||
spyOn(tagService, 'getTagsByNodeId').and.returnValue(of(tagPaging));
|
||||
component.ngOnInit();
|
||||
fixture.whenStable();
|
||||
fixture.detectChanges();
|
||||
const tagElements = findTagElements();
|
||||
expect(tagElements).toHaveSize(2);
|
||||
|
||||
Reference in New Issue
Block a user