mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-3018] Create automated test for replacing an app (#3572)
* [ADF-3018] Create automated test for replacing an app * Use await in the test * Fixing document list pagination test. * Implemented delete version and delete entire app test cases. * Added a log. * Added the api call into protractor control flow. * Renamed the test cases * Commented 'Click Audit Log button' test. * Added some in control flow. * Changing the test rail ID.
This commit is contained in:
committed by
Eugenio Romano
parent
192cca63aa
commit
98243f0450
@@ -77,9 +77,7 @@ var ProcessServicesPage = function(){
|
||||
this.getBackgroundColor = function(applicationName) {
|
||||
var app = element(by.css("mat-card[title='" + applicationName +"']"));
|
||||
Util.waitUntilElementIsVisible(app);
|
||||
return app.getCssValue("color").then(function (value) {
|
||||
return value;
|
||||
});
|
||||
return app.getCssValue("background-color");
|
||||
};
|
||||
|
||||
this.getDescription = function(applicationName) {
|
||||
@@ -90,6 +88,16 @@ var ProcessServicesPage = function(){
|
||||
return description.getText();
|
||||
};
|
||||
|
||||
this.checkAppIsNotDisplayed = function(applicationName) {
|
||||
var app = element(by.css("mat-card[title='" + applicationName +"']"));
|
||||
return Util.waitUntilElementIsNotOnPage(app);
|
||||
};
|
||||
|
||||
this.checkAppIsDisplayed = function(applicationName) {
|
||||
var app = element(by.css("mat-card[title='" + applicationName +"']"));
|
||||
return Util.waitUntilElementIsVisible(app);
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
module.exports = ProcessServicesPage;
|
||||
|
Reference in New Issue
Block a user