@o3r/testing
Version:
The module provides testing (e2e, unit test) utilities to help you build your own E2E pipeline integrating visual testing.
62 lines • 1.26 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.description = exports.returnType = void 0;
/**
* Return type associated to the MethodType
*/
exports.returnType = {
clickOnButton: 'Promise<void>',
getText: 'Promise<string | undefined>',
getInputValue: 'Promise<string | undefined>',
setInputValue: 'Promise<void>',
getTextInList: 'Promise<string | undefined>',
clickButtonInList: 'Promise<void>',
getNumberOfItems: 'Promise<number>'
};
/**
* Description associated to the MethodType
*/
exports.description = {
clickOnButton: `
/**
* Click on the button
*/`,
getText: `
/**
* Get the text
*
* @returns text
*/`,
getInputValue: `
/**
* Get the input value
*
* @returns input value
*/`,
setInputValue: `
/**
* Set value into the input
*
* @param value
*/`,
getTextInList: `
/**
* Get the text at the index of the list
*
* @param index
* @returns text
*/`,
clickButtonInList: `
/**
* Click on the button at the index of the list
*
* @param index
*/`,
getNumberOfItems: `
/**
* Get the number of items
*
* @returns number of items
*/`
};
//# sourceMappingURL=models.js.map