mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3193, ADF-3275] CardView e2e tests (#3577)
* CardView item key-value pair and combobox tests * Change describe title
This commit is contained in:
committed by
Eugenio Romano
parent
9b804f72f2
commit
50b6fb978b
@@ -27,6 +27,7 @@ var NavigationBarPage = function (){
|
||||
var themeButton = element(by.css("button[data-automation-id='theme menu']"));
|
||||
var themeMenuContent = element(by.css("div[class*='mat-menu-panel']"));
|
||||
var logoutButton = element(by.css("a[adf-logout]"));
|
||||
var cardViewButton = element(by.cssContainingText(".sidenav-menu-label","CardView"));
|
||||
|
||||
/**
|
||||
* Click Content Services Button
|
||||
@@ -35,7 +36,7 @@ var NavigationBarPage = function (){
|
||||
this.clickContentServicesButton = function (){
|
||||
Util.waitUntilElementIsVisible(contentServicesButton);
|
||||
contentServicesButton.click();
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* Click Process Services Button
|
||||
@@ -87,6 +88,15 @@ var NavigationBarPage = function (){
|
||||
logoutButton.click();
|
||||
};
|
||||
|
||||
/**
|
||||
* Click Card View Button
|
||||
* @method clickCardViewButton
|
||||
*/
|
||||
this.clickCardViewButton = function(){
|
||||
Util.waitUntilElementIsVisible(cardViewButton);
|
||||
cardViewButton.click();
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
module.exports = NavigationBarPage;
|
||||
|
Reference in New Issue
Block a user