@o3r/testing
Version:
The module provides testing (e2e, unit test) utilities to help you build your own E2E pipeline integrating visual testing.
26 lines • 933 B
TypeScript
import { ElementProfile, O3rElement } from '../element';
/**
* Interface to describe the material autocomplete elements 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 MatAutocompleteProfile extends ElementProfile {
/**
* Select an element in a dropdown by value.
*/
selectByValue(value: string): Promise<void>;
}
/**
* Mock for ElementProfile class.
* This class is used for fixture compilation purpose.
*/
export declare class MatAutocomplete extends O3rElement implements MatAutocompleteProfile {
constructor(_sourceElement: any);
/**
* Select an element in a dropdown by value.
* @param _value
* @param _timeout
*/
selectByValue(_value: string, _timeout?: number): Promise<void>;
}
//# sourceMappingURL=autocomplete-material.d.ts.map