mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-11259] Fix categories deletion in content metadata component (#11717)
* [ACS-11259] Fix categories deletion in content metadata component * [ACS-11259] CR fixes * [ACS-11259] Next batch of CR fixes
This commit is contained in:
@@ -72,6 +72,10 @@ export class UnitTestingUtils {
|
||||
return this.getByCSS(`[data-automation-class="${dataAutomationClass}"]`);
|
||||
}
|
||||
|
||||
getAllByDataAutomationId(dataAutomationId: string): DebugElement[] {
|
||||
return this.debugElement.queryAll(By.css(`[data-automation-id="${dataAutomationId}"]`));
|
||||
}
|
||||
|
||||
getInnerTextByDataAutomationId(dataAutomationId: string): string {
|
||||
return this.getByDataAutomationId(dataAutomationId).nativeElement.innerText;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user