@o3r/testing
Version:
The module provides testing (e2e, unit test) utilities to help you build your own E2E pipeline integrating visual testing.
29 lines • 1.52 kB
TypeScript
/**
* Type of method available for default fixture
*/
export type MethodType = 'clickOnButton' | 'getText' | 'getInputValue' | 'setInputValue' | 'getTextInList' | 'clickButtonInList' | 'getNumberOfItems';
/**
* Return type associated to the MethodType
*/
export declare const returnType: {
readonly clickOnButton: "Promise<void>";
readonly getText: "Promise<string | undefined>";
readonly getInputValue: "Promise<string | undefined>";
readonly setInputValue: "Promise<void>";
readonly getTextInList: "Promise<string | undefined>";
readonly clickButtonInList: "Promise<void>";
readonly getNumberOfItems: "Promise<number>";
};
/**
* Description associated to the MethodType
*/
export declare const description: {
readonly clickOnButton: "\n /**\n * Click on the button\n */";
readonly getText: "\n /**\n * Get the text\n *\n * @returns text\n */";
readonly getInputValue: "\n /**\n * Get the input value\n *\n * @returns input value\n */";
readonly setInputValue: "\n /**\n * Set value into the input\n *\n * @param value\n */";
readonly getTextInList: "\n /**\n * Get the text at the index of the list\n *\n * @param index\n * @returns text\n */";
readonly clickButtonInList: "\n /**\n * Click on the button at the index of the list\n *\n * @param index\n */";
readonly getNumberOfItems: "\n /**\n * Get the number of items\n *\n * @returns number of items\n */";
};
//# sourceMappingURL=models.d.ts.map