@umbraco/playwright-testhelpers
Version:
Test helpers for making playwright tests for Umbraco solutions
15 lines (14 loc) • 696 B
TypeScript
import { ApiHelpers } from "./ApiHelpers";
export declare class MemberGroupApiHelper {
api: ApiHelpers;
constructor(api: ApiHelpers);
get(id: string): Promise<any>;
create(name: string, id?: string): Promise<string | undefined>;
rename(id: string, name: string): Promise<import("playwright-core").APIResponse>;
delete(id: string): Promise<import("playwright-core").APIResponse>;
getAll(): Promise<import("playwright-core").APIResponse>;
doesExist(id: string): Promise<boolean>;
doesNameExist(name: string): Promise<any>;
getByName(name: string): Promise<any>;
ensureNameNotExists(name: string): Promise<import("playwright-core").APIResponse | null>;
}