@o3r/testing
Version:
The module provides testing (e2e, unit test) utilities to help you build your own E2E pipeline integrating visual testing.
20 lines • 885 B
TypeScript
import { O3rRadioElement, RadioElementProfile } from '../elements/radio-element';
import { GroupProfile, O3rGroup } from '../group';
/**
* Interface to describe the Radio Group that are used inside a fixture.
* As for ComponentFixtureProfile, this abstracts the testing framework that is used by choosing the right
* implementation at runtime.
*/
export interface RadioGroupProfile extends GroupProfile<RadioElementProfile> {
/** Get of selected items */
getSelectedItem(): Promise<RadioElementProfile | undefined>;
}
/**
* Mock for RadioGroupProfile class.
* This class is used for fixture compilation purpose.
*/
export declare class O3rRadioGroup extends O3rGroup<O3rRadioElement> implements RadioGroupProfile {
constructor(sourceElement: O3rRadioElement[]);
getSelectedItem(): Promise<O3rRadioElement | undefined>;
}
//# sourceMappingURL=radio-group.d.ts.map