test(playwright): add test for include user option

This commit is contained in:
Pranav C
2025-06-20 19:07:39 +00:00
parent 60ea0d177f
commit 0c820e6444
2 changed files with 91 additions and 0 deletions

View File

@@ -93,6 +93,15 @@ export class WebhookFormPage extends BasePage {
}
}
async toggleIncludeUser({ save }: { save: boolean }) {
await this.get().locator(`.nc-check-box-include-user`).click();
if (save) {
await this.save();
await this.close();
}
}
async deleteCondition(p: { save: boolean }) {
await this.get().locator(`.nc-filter-item-remove-btn`).click();
if (p.save) {