mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACS-8688] export playwright shared lib (#4068)
* [ACS-8688] export playwright shared lib * [ACS-8688] changes name * [ACS-8688] changes name * [ACS-8688] add lint file and fix lint issue * [ACS-8688] test fix * added ng package file
This commit is contained in:
@@ -54,14 +54,16 @@ export class ManageRulesDialogComponent extends BaseComponent {
|
||||
}
|
||||
|
||||
async deleteActions(noActions: number): Promise<void> {
|
||||
for(let i = 0; i < noActions; i++) {
|
||||
await this.actionsEllipsisButtons.first().click();
|
||||
await this.actionsEllipsisDelete.click();
|
||||
}}
|
||||
for (let i = 0; i < noActions; i++) {
|
||||
await this.actionsEllipsisButtons.first().click();
|
||||
await this.actionsEllipsisDelete.click();
|
||||
}
|
||||
}
|
||||
|
||||
async deleteConditions(noConditions: number): Promise<void> {
|
||||
for(let i = 0; i < noConditions; i++) {
|
||||
await this.conditionsEllipsisButtons.first().click();
|
||||
await this.conditionsEllipsisDelete.click();
|
||||
}}
|
||||
for (let i = 0; i < noConditions; i++) {
|
||||
await this.conditionsEllipsisButtons.first().click();
|
||||
await this.conditionsEllipsisDelete.click();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -53,7 +53,7 @@ export class ManageRules extends BaseComponent {
|
||||
}
|
||||
|
||||
async checkIfRuleListEmpty(): Promise<boolean> {
|
||||
return await this.rulesEmptyListTitle.isVisible();
|
||||
return this.rulesEmptyListTitle.isVisible();
|
||||
}
|
||||
|
||||
async checkIfRuleIsOnTheList(ruleName: string): Promise<void> {
|
||||
@@ -61,7 +61,7 @@ export class ManageRules extends BaseComponent {
|
||||
}
|
||||
|
||||
async countConditionsInGroup(): Promise<number> {
|
||||
return await this.ruleConditionsInGroup.count();
|
||||
return this.ruleConditionsInGroup.count();
|
||||
}
|
||||
|
||||
async turnOffRuleToggle(): Promise<void> {
|
||||
|
Reference in New Issue
Block a user