mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3439] Update automated tests for Header component (#3673)
* [ADF-3439] Update automated tests for Header component * small change * removing unused import
This commit is contained in:
@@ -146,8 +146,19 @@ var NavigationBarPage = function () {
|
||||
};
|
||||
|
||||
this.checkToolbarColor = function (color) {
|
||||
var toolbarColor = element(by.css(`mat-toolbar.mat-${color}`));
|
||||
var toolbarColor = element(by.css(`mat-toolbar[class*="mat-${color}"]`));
|
||||
return Util.waitUntilElementIsVisible(toolbarColor);
|
||||
};
|
||||
|
||||
this.clickAppLogo = function (logoTitle) {
|
||||
var appLogo = element(by.css('a[title="'+ logoTitle +'"]'));
|
||||
Util.waitUntilElementIsVisible(appLogo);
|
||||
appLogo.click();
|
||||
};
|
||||
|
||||
this.checkLogoTooltip = function (logoTooltip) {
|
||||
var logoTooltip = element(by.css('a[title="'+ logoTooltip +'"]'));
|
||||
Util.waitUntilElementIsVisible(logoTooltip);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user