@agnos-ui/page-objects
Version:
Page objects to be used when testing AgnosUI-based applications with Playwright.
30 lines (29 loc) • 839 B
TypeScript
import { BasePO } from '@agnos-ui/base-po';
import type { Locator } from '@playwright/test';
export declare const progressbarSelectors: {
rootComponent: string;
outerBar: string;
innerBar: string;
};
export interface State {
ariaLabel: string | null;
ariaValueNow: string | null;
ariaValueMin: string | null;
ariaValueMax: string | null;
ariaValueText: string | null;
label: string | null | undefined;
innerClasses: string[];
outerHeight: string | undefined;
innerWidth: string | undefined;
}
export declare class ProgressbarPO extends BasePO {
selectors: {
rootComponent: string;
outerBar: string;
innerBar: string;
};
getComponentSelector(): string;
get locatorOuterBar(): Locator;
get locatorInnerBar(): Locator;
state(): Promise<State>;
}