@o3r/testing
Version:
The module provides testing (e2e, unit test) utilities to help you build your own E2E pipeline integrating visual testing.
19 lines • 639 B
TypeScript
import { GroupProfile } from '../group';
import { ElementProfile, O3rElement } from './element';
export { GroupProfile } from '../group';
/**
* Constructor of a O3rGroup
*/
export type O3rGroupConstructor<T extends GroupProfile<V>, V extends ElementProfile> = new (sourceElement: V[]) => T;
/**
* Implementation dedicated to Playwright.
*/
export declare class O3rGroup<T extends O3rElement> implements GroupProfile<T> {
protected sourceElement: T[];
/** @inheritDoc */
get items(): T[];
constructor(sourceElement: T[]);
/** @inheritDoc */
isValidGroup(): Promise<boolean>;
}
//# sourceMappingURL=group.d.ts.map