mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
fix people cloud navigation e2e
This commit is contained in:
@@ -33,7 +33,6 @@ export class NavigationBarPage {
|
|||||||
processServicesNestedButton = element(by.css('button[data-automation-id="App"]'));
|
processServicesNestedButton = element(by.css('button[data-automation-id="App"]'));
|
||||||
processServicesCloudButton = element(by.css('a[data-automation-id="Process Cloud"]'));
|
processServicesCloudButton = element(by.css('a[data-automation-id="Process Cloud"]'));
|
||||||
processServicesCloudHomeButton = element(by.css('button[data-automation-id="Home"]'));
|
processServicesCloudHomeButton = element(by.css('button[data-automation-id="Home"]'));
|
||||||
processServicesCloudPeopleGroupButton = element(by.css('button[data-automation-id="People/Group Cloud"]'));
|
|
||||||
loginButton = element(by.css('a[data-automation-id="Login"]'));
|
loginButton = element(by.css('a[data-automation-id="Login"]'));
|
||||||
trashcanButton = element(by.css('a[data-automation-id="Trashcan"]'));
|
trashcanButton = element(by.css('a[data-automation-id="Trashcan"]'));
|
||||||
overlayViewerButton = element(by.css('a[data-automation-id="Overlay Viewer"]'));
|
overlayViewerButton = element(by.css('a[data-automation-id="Overlay Viewer"]'));
|
||||||
@@ -50,7 +49,7 @@ export class NavigationBarPage {
|
|||||||
iconsButton = element(by.css('a[data-automation-id="Icons"]'));
|
iconsButton = element(by.css('a[data-automation-id="Icons"]'));
|
||||||
customSourcesButton = element(by.css('a[data-automation-id="Custom Sources"]'));
|
customSourcesButton = element(by.css('a[data-automation-id="Custom Sources"]'));
|
||||||
settingsButton = element(by.css('a[data-automation-id="Settings"]'));
|
settingsButton = element(by.css('a[data-automation-id="Settings"]'));
|
||||||
peopleGroupCloud = element(by.css('a[data-automation-id="People/Group Cloud"]'));
|
peopleGroupCloudButton = element(by.css('button[data-automation-id="People/Group Cloud"]'));
|
||||||
aboutButton = element(by.css('a[data-automation-id="About"]'));
|
aboutButton = element(by.css('a[data-automation-id="About"]'));
|
||||||
|
|
||||||
navigateToDatatable() {
|
navigateToDatatable() {
|
||||||
@@ -92,8 +91,10 @@ export class NavigationBarPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
navigateToPeopleGroupCloudPage() {
|
navigateToPeopleGroupCloudPage() {
|
||||||
Util.waitUntilElementIsVisible(this.peopleGroupCloud);
|
Util.waitUntilElementIsVisible(this.processServicesCloudButton);
|
||||||
this.peopleGroupCloud.click();
|
this.processServicesCloudButton.click();
|
||||||
|
Util.waitUntilElementIsVisible(this.peopleGroupCloudButton);
|
||||||
|
this.peopleGroupCloudButton.click();
|
||||||
return new PeopleGroupCloudComponentPage();
|
return new PeopleGroupCloudComponentPage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user