mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
e2e test error page and fix (#3672)
* fix wrong input parameter functionality * not reload the page to go to the content service page * navigate instead to reload to go to the process service page
This commit is contained in:
committed by
Eugenio Romano
parent
6cf6c9c0e4
commit
2e0945b0cc
@@ -24,6 +24,7 @@ var ErrorPage = function(){
|
||||
var errorPageTitle = element(by.css("adf-error-content .adf-error-content-title"));
|
||||
var errorPageDescription = element(by.css("adf-error-content .adf-error-content-description"));
|
||||
var backButton = element(by.id("adf-return-button"));
|
||||
var secondButton = element(by.id("adf-secondary-button"));
|
||||
|
||||
this.checkErrorPage = function(){
|
||||
Util.waitUntilElementIsVisible(errorPage);
|
||||
@@ -34,6 +35,11 @@ var ErrorPage = function(){
|
||||
backButton.click();
|
||||
};
|
||||
|
||||
this.clickSecondButton = function(){
|
||||
Util.waitUntilElementIsVisible(secondButton);
|
||||
secondButton.click();
|
||||
};
|
||||
|
||||
this.checkErrorTitle = function(){
|
||||
Util.waitUntilElementIsVisible(errorPageTitle);
|
||||
};
|
||||
|
Reference in New Issue
Block a user