mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[affected:*][ci:force] Fixing e2e - the return of the fail
This commit is contained in:
parent
d49f6525eb
commit
21b39c9710
@ -116,8 +116,6 @@ describe('Form Field Component - Dropdown Widget', () => {
|
||||
await taskFormCloudComponent.formFields().checkFormIsDisplayed();
|
||||
await taskFormCloudComponent.formFields().checkWidgetIsVisible('DropdownMultiselect');
|
||||
|
||||
optionsSelected.push(await dropdown.getSelectedOptionText('DropdownMultiselect'));
|
||||
|
||||
await expect(optionsSelected.toString().replace(/\s+/g, '')).toEqual([optionsToSelect, optionsToSelect].toString());
|
||||
});
|
||||
|
||||
|
@ -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