* 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:
Eugenio Romano
2020-11-16 00:49:10 +00:00
committed by GitHub
parent d36fd9d5f1
commit ababde3760
42 changed files with 152 additions and 130 deletions

View File

@@ -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);
}