mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[ADF-3333] Test for Viewer - Part 3 (#3927)
* [ADF-3333] Test for Viewer - Part 3 * Fixing failing test * remove async not necessary * fix lint
This commit is contained in:
committed by
Eugenio Romano
parent
94905d1065
commit
cc7b9230ee
@@ -30,6 +30,7 @@ export class NavigationBarPage {
|
||||
processServicesCloudButton = element(by.css('a[data-automation-id="Process Cloud"]'));
|
||||
loginButton = element(by.css('a[data-automation-id="Login"]'));
|
||||
trashcanButton = element(by.css('a[data-automation-id="Trashcan"]'));
|
||||
overlayViewerButton = element(by.css('a[data-automation-id="Overlay Viewer"]'));
|
||||
userProfileButton = element(by.css('button[data-automation-id="adf-user-profile"]'));
|
||||
themeButton = element(by.css('button[data-automation-id="theme menu"]'));
|
||||
themeMenuContent = element(by.css('div[class*="mat-menu-panel"]'));
|
||||
@@ -79,6 +80,12 @@ export class NavigationBarPage {
|
||||
this.trashcanButton.click();
|
||||
}
|
||||
|
||||
clickOverlayViewerButton() {
|
||||
Util.waitUntilElementIsVisible(this.overlayViewerButton);
|
||||
this.overlayViewerButton.click();
|
||||
return this;
|
||||
}
|
||||
|
||||
clickUserProfile() {
|
||||
Util.waitUntilElementIsVisible(this.userProfileButton);
|
||||
this.userProfileButton.click();
|
||||
|
Reference in New Issue
Block a user