mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[ADF-4105] Role Site Dropdown is Displayed (#4356)
* in progress * C277002 - Role Site Dropdown automated. * C277002 - Role Site Dropdown automated. * async updates * async updates * in progress * fixed errors * Fixing tests * fixed errors
This commit is contained in:
committed by
Eugenio Romano
parent
596e801283
commit
00ba61cdea
@@ -66,6 +66,7 @@ export class ContentServicesPage {
|
||||
copyButton = element(by.css('button[data-automation-id="content-node-selector-actions-choose"]'));
|
||||
searchInputElement = element(by.css('input[data-automation-id="content-node-selector-search-input"]'));
|
||||
shareNodeButton = element(by.cssContainingText('mat-icon', ' share '));
|
||||
siteListDropdown = element(by.css(`mat-select[data-automation-id='site-my-files-select']`));
|
||||
|
||||
getUploadAreaDocumentList() {
|
||||
return new ContentListPage(element(by.css('adf-upload-drag-area')));
|
||||
@@ -691,4 +692,8 @@ export class ContentServicesPage {
|
||||
Util.waitUntilElementIsClickable(this.shareNodeButton);
|
||||
this.shareNodeButton.click();
|
||||
}
|
||||
|
||||
checkSelectedSiteIsDisplayed(siteName) {
|
||||
Util.waitUntilElementIsVisible(this.siteListDropdown.element(by.cssContainingText('.mat-select-value-text span', siteName)));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user