@umbraco/playwright-testhelpers
Version:
Test helpers for making playwright tests for Umbraco solutions
10 lines (9 loc) • 477 B
TypeScript
import { Page } from "@playwright/test";
import { UiBaseLocators } from "./UiBaseLocators";
export declare class CurrentUserProfileUiHelper extends UiBaseLocators {
private readonly changePasswordBtn;
constructor(page: Page);
clickChangePasswordButton(): Promise<void>;
changePassword(currentPassword: string, newPassword: string): Promise<void>;
changePasswordAndWaitForSuccess(currentPassword: string, newPassword: string): Promise<string | undefined>;
}