[ADF-3959] Fixing trashcan-pagination tests (#4222)

This commit is contained in:
Marouan Bentaleb
2019-02-01 13:20:17 +00:00
committed by Eugenio Romano
parent 2036e026f3
commit c00e230983
6 changed files with 56 additions and 38 deletions

View File

@@ -159,6 +159,10 @@ export class UploadDialog {
return this;
}
async checkUploadCompleted() {
return (await this.numberOfCurrentFilesUploaded()) === (await this.numberOfInitialFilesUploaded());
}
numberOfCurrentFilesUploaded() {
let deferred = protractor.promise.defer();
this.getTitleText().then((text) => {