@o3r/testing
Version:
The module provides testing (e2e, unit test) utilities to help you build your own E2E pipeline integrating visual testing.
52 lines • 1.82 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.O3rElement = void 0;
const index_1 = require("../errors/index");
/**
* Mock for ElementProfile class.
* This class is used for fixture compilation purpose.
*/
class O3rElement {
constructor(_sourceElement) { }
getInnerHTML() {
throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation');
}
/** @inheritdoc */
getText() {
throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation');
}
/** @inheritdoc */
getPlainText() {
throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation');
}
/** @inheritdoc */
click() {
throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation');
}
/** @inheritdoc */
getAttribute(_attributeName) {
throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation');
}
/** @inheritdoc */
mouseOver() {
throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation');
}
/** @inheritdoc */
getValue() {
throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation');
}
/** @inheritdoc */
setValue(_input) {
throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation');
}
/** @inheritdoc */
clearValue() {
throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation');
}
/** @inheritdoc */
isVisible() {
throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation');
}
}
exports.O3rElement = O3rElement;
//# sourceMappingURL=element.js.map