@umbraco/playwright-testhelpers
Version:
Test helpers for making playwright tests for Umbraco solutions
20 lines (19 loc) • 844 B
TypeScript
import { Page } from "@playwright/test";
import { UiBaseLocators } from "./UiBaseLocators";
export declare class PublishedStatusUiHelper extends UiBaseLocators {
private readonly publishedStatusTab;
private readonly refreshStatusBtn;
private readonly reloadMemoryCacheBtn;
private readonly rebuildDatabaseCacheBtn;
private readonly snapshotInternalCacheBtn;
private readonly continueBtn;
private readonly publishedCacheBox;
constructor(page: Page);
clickPublishedStatusTab(): Promise<void>;
clickRefreshStatusButton(): Promise<void>;
clickReloadMemoryCacheButton(): Promise<void>;
clickRebuildDatabaseCacheButton(): Promise<void>;
clickSnapshotInternalCacheButton(): Promise<void>;
clickContinueButton(): Promise<void>;
isPublishedCacheStatusVisible(status: string): Promise<void>;
}