UNPKG

@agnos-ui/page-objects

Version:

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

42 lines (41 loc) 1.21 kB
import { BasePO } from '@agnos-ui/base-po'; export declare const selectSelectors: { rootComponent: string; }; export declare class SelectPO extends BasePO { selectors: { rootComponent: string; }; getComponentSelector(): string; /** * Get the main title locator of the feature page */ get locatorInput(): import("playwright-core").Locator; /** * Menu container */ get locatorMenu(): import("playwright-core").Locator; /** * Return the first menu item locator including the text */ get locatorMenuItems(): import("playwright-core").Locator; /** * Return the first menu item locator including the text */ locatorMenuItem(text: string): import("playwright-core").Locator; /** * Bages container */ get locatorBadges(): import("playwright-core").Locator; /** * Return the first badge locator including the text */ locatorBadgeItem(text: string): import("playwright-core").Locator; state(): Promise<{ text: string; badges: (string | undefined)[]; isOpen: boolean; list: (string | undefined)[]; checked: (string | undefined)[]; }>; }