[ADF-3558] Fix failing test for unshare file (#3786)

This commit is contained in:
jdosti
2018-09-13 18:09:56 +01:00
committed by Eugenio Romano
parent a7cdcbf7b9
commit 3cd955236a
2 changed files with 5 additions and 0 deletions

View File

@@ -94,5 +94,6 @@ describe('Unshare file', () => {
browser.get(sharedLink);
errorPage.checkErrorPage();
errorPage.checkBackButton();
});
});

View File

@@ -67,6 +67,10 @@ var ErrorPage = function(){
return errorPageDescription.getText();
};
this.checkBackButton = function () {
return Util.waitUntilElementIsVisible(backButton);
};
};
module.exports = ErrorPage;