mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-5645]modified the changes
This commit is contained in:
@@ -46,7 +46,7 @@ export class MetadataViewPage {
|
|||||||
displayAspect = $(`input[data-placeholder='Display Aspect']`);
|
displayAspect = $(`input[data-placeholder='Display Aspect']`);
|
||||||
applyAspect = element(by.cssContainingText(`button span.mat-button-wrapper`, 'Apply Aspect'));
|
applyAspect = element(by.cssContainingText(`button span.mat-button-wrapper`, 'Apply Aspect'));
|
||||||
saveMetadataButton = $(`[data-automation-id='save-metadata']`);
|
saveMetadataButton = $(`[data-automation-id='save-metadata']`);
|
||||||
saveGeneralMetadataButton = $(`[data-automation-id='save-generalInfo-metadata']`);
|
saveGeneralMetadataButton = $(`[data-automation-id='save-general-info-metadata']`);
|
||||||
resetMetadataButton = $(`[data-automation-id='reset-metadata']`);
|
resetMetadataButton = $(`[data-automation-id='reset-metadata']`);
|
||||||
|
|
||||||
private getMetadataGroupLocator = async (groupName: string): Promise<ElementFinder> =>
|
private getMetadataGroupLocator = async (groupName: string): Promise<ElementFinder> =>
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,7 @@
|
|||||||
<button mat-icon-button
|
<button mat-icon-button
|
||||||
(click)="saveEditChanges('generalInfo', $event)"
|
(click)="saveEditChanges('generalInfo', $event)"
|
||||||
color="primary"
|
color="primary"
|
||||||
data-automation-id="save-generalInfo-metadata"
|
data-automation-id="save-general-info-metadata"
|
||||||
[disabled]="!hasMetadataChanged">
|
[disabled]="!hasMetadataChanged">
|
||||||
<mat-icon>check</mat-icon>
|
<mat-icon>check</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
+1
-1
@@ -83,7 +83,7 @@ describe('ContentMetadataComponent', () => {
|
|||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
};
|
};
|
||||||
|
|
||||||
const findSaveGeneralInfoButton = (): HTMLButtonElement => fixture.debugElement.query(By.css('[data-automation-id=save-generalInfo-metadata]')).nativeElement;
|
const findSaveGeneralInfoButton = (): HTMLButtonElement => fixture.debugElement.query(By.css('[data-automation-id=save-general-info-metadata]')).nativeElement;
|
||||||
const findSaveTagsButton = (): HTMLButtonElement => fixture.debugElement.query(By.css('[data-automation-id=save-tags-metadata]')).nativeElement;
|
const findSaveTagsButton = (): HTMLButtonElement => fixture.debugElement.query(By.css('[data-automation-id=save-tags-metadata]')).nativeElement;
|
||||||
const findSaveCategoriesButton = (): HTMLButtonElement => fixture.debugElement.query(By.css('[data-automation-id=save-categories-metadata]')).nativeElement;
|
const findSaveCategoriesButton = (): HTMLButtonElement => fixture.debugElement.query(By.css('[data-automation-id=save-categories-metadata]')).nativeElement;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user