[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:
Sushmitha V
2021-10-31 23:40:57 +05:30
committed by GitHub
parent 1467b6de26
commit f14d333281
15 changed files with 452 additions and 73 deletions

View File

@@ -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 {