restore content directive e2e tests (#4915)

* e2e tests for restore content directive

* e2e tests for restore content directive

* e2e tests for restore content directive

* changed the method for restore icon to check for display rather than enabled.

* test enhancements

* removed empty folder test as irrelevant.

* added test for restore of Site or Library

* test enhancements

* test enhancements
This commit is contained in:
Geeta Mandakini Ayyalasomayajula
2019-07-11 16:33:02 +01:00
committed by Eugenio Romano
parent 4185bf8083
commit ffd4413335
5 changed files with 372 additions and 1 deletions

View File

@@ -666,6 +666,11 @@ export class ContentServicesPage {
BrowserVisibility.waitUntilElementIsVisible(this.siteListDropdown.element(by.cssContainingText('.mat-select-value-text span', siteName)));
}
selectSite(siteName: string) {
BrowserActions.clickOnSelectDropdownOption(siteName, this.siteListDropdown);
return this;
}
clickDownloadButton() {
BrowserActions.closeMenuAndDialogs();
BrowserActions.click(this.downloadButton);