UNPKG

@agnos-ui/page-objects

Version:

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

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