mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Add a test for logo text (#3837)
This commit is contained in:
committed by
Eugenio Romano
parent
1152b10888
commit
711d51dd1d
@@ -143,6 +143,14 @@ describe('Header Component', () => {
|
||||
settingsPage.checkProviderDropdownIsDisplayed();
|
||||
});
|
||||
|
||||
it('[C286517] Should be able to set a hyperlink to the logo text', () => {
|
||||
headerPage.addLogoHyperlink(names.urlPath_logo_link);
|
||||
|
||||
navigationBarPage.clickAppLogoText();
|
||||
|
||||
settingsPage.checkProviderDropdownIsDisplayed();
|
||||
});
|
||||
|
||||
it('[C280554] Should be able to customise the tooltip-text of the logo', () => {
|
||||
headerPage.addLogoTooltip(names.logo_tooltip);
|
||||
|
||||
|
@@ -156,6 +156,11 @@ var NavigationBarPage = function () {
|
||||
appLogo.click();
|
||||
};
|
||||
|
||||
this.clickAppLogoText = function () {
|
||||
Util.waitUntilElementIsVisible(appTitle);
|
||||
appTitle.click();
|
||||
};
|
||||
|
||||
this.checkLogoTooltip = function (logoTooltip) {
|
||||
var logoTooltip = element(by.css('a[title="'+ logoTooltip +'"]'));
|
||||
Util.waitUntilElementIsVisible(logoTooltip);
|
||||
|
Reference in New Issue
Block a user