[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:
Akash Rathod
2024-09-03 14:16:02 +02:00
committed by GitHub
parent 14bb6b3155
commit 56c2c55daf
66 changed files with 406 additions and 295 deletions

View File

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

View File

@@ -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> {