mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[ACS-3658] Fix duplicated ids (#7987)
* [ACS-3658] Fix duplicated ids * [ACS-3658] Missing automation id changes
This commit is contained in:
parent
f41f39369b
commit
9b7fab0737
@ -1,7 +1,7 @@
|
|||||||
<ng-container *ngIf="isCustom; else: default">
|
<ng-container *ngIf="isCustom; else: default">
|
||||||
<mat-icon [color]="color" [svgIcon]="value"></mat-icon>
|
<mat-icon [color]="color" [svgIcon]="value" aria-hidden="true"></mat-icon>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
<ng-template #default>
|
<ng-template #default>
|
||||||
<mat-icon [color]="color">{{ value }}</mat-icon>
|
<mat-icon [color]="color" aria-hidden="true">{{ value }}</mat-icon>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="adf-attach-widget-readonly-list" class="adf-attach-widget-readonly-table">
|
<div data-automation-id="adf-attach-widget-readonly-list" class="adf-attach-widget-readonly-table">
|
||||||
<adf-cloud-file-properties-table
|
<adf-cloud-file-properties-table
|
||||||
[uploadedFiles]="uploadedFiles"
|
[uploadedFiles]="uploadedFiles"
|
||||||
[hasFile]="hasFile"
|
[hasFile]="hasFile"
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="adf-attach-widget-readonly-list">
|
<div data-automation-id="adf-attach-widget-readonly-list">
|
||||||
<mat-list *ngIf="hasFile">
|
<mat-list *ngIf="hasFile">
|
||||||
<mat-list-item class="adf-attach-files-row" *ngFor="let file of field.value">
|
<mat-list-item class="adf-attach-files-row" *ngFor="let file of field.value">
|
||||||
<img mat-list-icon class="adf-attach-widget__icon"
|
<img mat-list-icon class="adf-attach-widget__icon"
|
||||||
|
@ -25,7 +25,7 @@ export class AttachFileWidgetPage {
|
|||||||
formFields = new FormFields();
|
formFields = new FormFields();
|
||||||
alfrescoTypeUploadLocator = 'button[id="attachfile"]';
|
alfrescoTypeUploadLocator = 'button[id="attachfile"]';
|
||||||
localStorageButton = $('input[id="attachfile"]');
|
localStorageButton = $('input[id="attachfile"]');
|
||||||
filesListLocator = 'div[id="adf-attach-widget-readonly-list"]';
|
filesListLocator = 'div[data-automation-id="adf-attach-widget-readonly-list"]';
|
||||||
attachFileWidget = $('#attachfile');
|
attachFileWidget = $('#attachfile');
|
||||||
attachedFileMenu = $('mat-list-item button');
|
attachedFileMenu = $('mat-list-item button');
|
||||||
attachedFileOptions = $('.mat-menu-panel .mat-menu-content');
|
attachedFileOptions = $('.mat-menu-panel .mat-menu-content');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user