mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
[affected:*][ci:force] Fixing e2e - the return of the fail
This commit is contained in:
parent
0b96ac2c2d
commit
d50b8ec4c7
@ -34,7 +34,9 @@ export class AttachFileWidgetCloudPage {
|
||||
await BrowserVisibility.waitUntilElementIsVisible(this.widget.$(this.filesListLocator));
|
||||
}
|
||||
|
||||
getFileAttachedLocatorByContainingText = async (text: string): Promise<ElementFinder> => this.widget.$(this.filesListLocator).element(by.cssContainingText('.adf-file', text));
|
||||
async getFileAttachedLocatorByContainingText(text: string): Promise<ElementFinder> {
|
||||
return this.widget.$(this.filesListLocator).element(by.cssContainingText('span', text));
|
||||
}
|
||||
|
||||
assignWidget(fieldId: string): void {
|
||||
this.widget = $(`adf-form-field div[id='field-${fieldId}-container']`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user