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