mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
ix build (#6347)
* create after e2e and before e2e script * permission test exclude * flaky exclude * fix * chmod permission * modify check cs * fix * execute * fix * fix
This commit is contained in:
@@ -70,12 +70,17 @@ export class AddPermissionsDialogPage {
|
||||
await BrowserActions.click(this.addButton);
|
||||
}
|
||||
|
||||
async checkUserOrGroupIsAdded(name: string): Promise<void> {
|
||||
async checkUserIsAdded(name: string): Promise<void> {
|
||||
const userOrGroupName = element(by.css('div[data-automation-id="text_' + name + '"]'));
|
||||
await BrowserVisibility.waitUntilElementIsVisible(userOrGroupName);
|
||||
}
|
||||
|
||||
async checkUserOrGroupIsDeleted(name: string): Promise<void> {
|
||||
async checkGroupIsAdded(name: string): Promise<void> {
|
||||
const userOrGroupName = element(by.css('div[data-automation-id="text_GROUP_' + name + '"]'));
|
||||
await BrowserVisibility.waitUntilElementIsVisible(userOrGroupName);
|
||||
}
|
||||
|
||||
async checkUserIsDeleted(name: string): Promise<void> {
|
||||
const userOrGroupName = element(by.css('div[data-automation-id="text_' + name + '"]'));
|
||||
await BrowserVisibility.waitUntilElementIsNotVisible(userOrGroupName);
|
||||
}
|
||||
|
Reference in New Issue
Block a user