[ACS-5645]modified the changes

This commit is contained in:
Yasa-Nataliya
2023-10-09 20:20:57 +05:30
parent 6e6bb7b2ec
commit 3ee604504f
3 changed files with 3 additions and 3 deletions
@@ -35,7 +35,7 @@
<button mat-icon-button
(click)="saveEditChanges('generalInfo', $event)"
color="primary"
data-automation-id="save-generalInfo-metadata"
data-automation-id="save-general-info-metadata"
[disabled]="!hasMetadataChanged">
<mat-icon>check</mat-icon>
</button>
@@ -83,7 +83,7 @@ describe('ContentMetadataComponent', () => {
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 findSaveCategoriesButton = (): HTMLButtonElement => fixture.debugElement.query(By.css('[data-automation-id=save-categories-metadata]')).nativeElement;