@o3r/testing
Version:
The module provides testing (e2e, unit test) utilities to help you build your own E2E pipeline integrating visual testing.
44 lines • 1.6 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MatSelect = 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 MatSelect = /** @class */ (function (_super) {
tslib_1.__extends(MatSelect, _super);
function MatSelect(_sourceElement) {
return _super.call(this, _sourceElement) || this;
}
/**
* Select an element in a dropdown by index.
* @param _index
* @param _timeout
*/
MatSelect.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
* @deprecated selectByValue relies on ng-reflect-value, which doesn't work when app is in production mode
*/
MatSelect.prototype.selectByValue = function (_value, _timeout) {
throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation');
};
/**
* Select an element in a dropdown by label.
* @param _label
* @param _timeout
*/
MatSelect.prototype.selectByLabel = function (_label, _timeout) {
throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation');
};
return MatSelect;
}(element_1.O3rElement));
exports.MatSelect = MatSelect;
//# sourceMappingURL=select-material.js.map