UNPKG

@o3r/testing

Version:

The module provides testing (e2e, unit test) utilities to help you build your own E2E pipeline integrating visual testing.

35 lines 1.27 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.O3rSelectElement = void 0; var tslib_1 = require("tslib"); var index_1 = require("../../errors/index"); var element_1 = require("../element"); /** * Mock for ElementProfile class. * This class is used for fixture compilation purpose. */ var O3rSelectElement = /** @class */ (function (_super) { tslib_1.__extends(O3rSelectElement, _super); function O3rSelectElement(_sourceElement) { return _super.call(this, _sourceElement) || this; } /** * Select an element in a dropdown by index. * @param _index * @param _timeout */ O3rSelectElement.prototype.selectByIndex = function (_index, _timeout) { throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation'); }; /** * Select an element in a dropdown by value. * @param _value * @param _timeout */ O3rSelectElement.prototype.selectByValue = function (_value, _timeout) { throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation'); }; return O3rSelectElement; }(element_1.O3rElement)); exports.O3rSelectElement = O3rSelectElement; //# sourceMappingURL=select-element.js.map