@o3r/testing
Version:
The module provides testing (e2e, unit test) utilities to help you build your own E2E pipeline integrating visual testing.
32 lines • 1.01 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.O3rSelectElement = void 0;
const index_1 = require("../../errors/index");
const element_1 = require("../element");
/**
* Mock for ElementProfile class.
* This class is used for fixture compilation purpose.
*/
class O3rSelectElement extends element_1.O3rElement {
constructor(_sourceElement) {
super(_sourceElement);
}
/**
* Select an element in a dropdown by index.
* @param _index
* @param _timeout
*/
selectByIndex(_index, _timeout) {
throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation');
}
/**
* Select an element in a dropdown by value.
* @param _value
* @param _timeout
*/
selectByValue(_value, _timeout) {
throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation');
}
}
exports.O3rSelectElement = O3rSelectElement;
//# sourceMappingURL=select-element.js.map