mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-3558] Fix failing test for unshare file (#3786)
This commit is contained in:
@@ -94,5 +94,6 @@ describe('Unshare file', () => {
|
|||||||
browser.get(sharedLink);
|
browser.get(sharedLink);
|
||||||
|
|
||||||
errorPage.checkErrorPage();
|
errorPage.checkErrorPage();
|
||||||
|
errorPage.checkBackButton();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -67,6 +67,10 @@ var ErrorPage = function(){
|
|||||||
return errorPageDescription.getText();
|
return errorPageDescription.getText();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
this.checkBackButton = function () {
|
||||||
|
return Util.waitUntilElementIsVisible(backButton);
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = ErrorPage;
|
module.exports = ErrorPage;
|
||||||
|
Reference in New Issue
Block a user