mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-6165] Add capability in the Attach File of displaying metadata fields in addition to file name (#7324)
* [AAE-6165] Add capability in the Attach File of displaying metadata fields in addition to file name * Minor css styling adjustments * [AAE-6165] Changes done for date datatype and table css * [AAE-6165] Changes done as per the comments * [AAE-6165] Changes done as per comments on PR * Resolved failing lints * Updated CSS for attach file widget * Updated css * Updated UT * Resolved e2e failures * Resolved e2e errors Co-authored-by: amohammedalfresco <abdul.mohammed@alfresco.com>
This commit is contained in:
@@ -29,8 +29,8 @@ export class AttachFileWidgetCloudPage {
|
||||
}
|
||||
|
||||
getFileAttachedLocatorByContainingText = async(text: string): Promise<ElementFinder> => {
|
||||
const filesListLocator = 'div[id="adf-attach-widget-readonly-list"]';
|
||||
return this.widget.$(filesListLocator).element(by.cssContainingText('mat-list-item span ', text));
|
||||
const filesListLocator = 'div[class="adf-file-properties-table"]';
|
||||
return this.widget.$(filesListLocator).element(by.cssContainingText('table tbody tr td span ', text));
|
||||
}
|
||||
|
||||
assignWidget(fieldId: string): void {
|
||||
|
Reference in New Issue
Block a user