[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:
gmandakini
2019-02-28 09:38:09 +00:00
committed by Eugenio Romano
parent 596e801283
commit 00ba61cdea
4 changed files with 75 additions and 11 deletions

View File

@@ -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)));
}
}