@agnos-ui/page-objects
Version:
Page objects to be used when testing AgnosUI-based applications with Playwright.
20 lines (19 loc) • 559 B
TypeScript
import type { Locator } from '@playwright/test';
import { BasePO } from '@agnos-ui/base-po';
import { ToastPO } from './toast.po';
export declare const toasterSelectors: {
rootComponent: string;
container: string;
closeButton: string;
};
export declare class ToasterPO extends BasePO {
selectors: {
rootComponent: string;
container: string;
closeButton: string;
};
getComponentSelector(): string;
get locatorContainer(): Locator;
toastPOs(): Promise<ToastPO[]>;
get locatorCloseButton(): Locator;
}