UNPKG

@agnos-ui/page-objects

Version:

Page objects to be used when testing AgnosUI-based applications with Playwright.

22 lines (21 loc) 578 B
import { BasePO } from '@agnos-ui/base-po'; import type { Locator } from '@playwright/test'; export declare const alertSelectors: { rootComponent: string; body: string; closeButton: string; }; export declare class AlertPO extends BasePO { selectors: { rootComponent: string; body: string; closeButton: string; }; getComponentSelector(): string; get locatorCloseButton(): Locator; state(): Promise<{ rootClasses: string[]; body: string | undefined; closeButton: string | null | undefined; }>; }