playwright-pom-materials
Version:
Playwright POM materials
18 lines • 597 B
TypeScript
import { expect as origExpect } from '@playwright/test';
type ExpectReturnType = ReturnType<typeof origExpect>;
type SoftType = typeof origExpect.soft;
type ConfigureType = typeof origExpect.configure;
type PollType = typeof origExpect.poll;
type ExtendType = typeof origExpect.extend;
export type ExpectType = {
(x: unknown, messageOrOptions?: string | {
message?: string;
}): ExpectReturnType;
soft: SoftType;
configure: ConfigureType;
poll: PollType;
extend: ExtendType;
};
export declare const expect: ExpectType;
export {};
//# sourceMappingURL=expect.d.ts.map