mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[ADF-4106] Permissions Component automated (#4449)
* Permissions Component automated * linting fixes * making tests stable * making tests stable * making tests stable
This commit is contained in:
committed by
Eugenio Romano
parent
94cd14bf71
commit
d6f391c40e
@@ -65,6 +65,7 @@ export class PermissionsPage {
|
||||
|
||||
searchUserOrGroup(name) {
|
||||
Util.waitUntilElementIsClickable(this.searchUserInput);
|
||||
this.searchUserInput.clear();
|
||||
return this.searchUserInput.sendKeys(name);
|
||||
}
|
||||
|
||||
@@ -149,4 +150,9 @@ export class PermissionsPage {
|
||||
checkPermissionContainerIsDisplayed() {
|
||||
Util.waitUntilElementIsVisible(this.permissionDisplayContainer);
|
||||
}
|
||||
|
||||
checkUserOrGroupIsDisplayed(name) {
|
||||
let userOrGroupName = element(by.cssContainingText('mat-list-option .mat-list-text', name));
|
||||
Util.waitUntilElementIsVisible(userOrGroupName);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user