UNPKG

@o3r/testing

Version:

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

54 lines 2.23 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.O3rElement = void 0; var index_1 = require("../errors/index"); /** * Mock for ElementProfile class. * This class is used for fixture compilation purpose. */ var O3rElement = /** @class */ (function () { function O3rElement(_sourceElement) { } O3rElement.prototype.getInnerHTML = function () { throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation'); }; /** @inheritdoc */ O3rElement.prototype.getText = function () { throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation'); }; /** @inheritdoc */ O3rElement.prototype.getPlainText = function () { throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation'); }; /** @inheritdoc */ O3rElement.prototype.click = function () { throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation'); }; /** @inheritdoc */ O3rElement.prototype.getAttribute = function (_attributeName) { throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation'); }; /** @inheritdoc */ O3rElement.prototype.mouseOver = function () { throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation'); }; /** @inheritdoc */ O3rElement.prototype.getValue = function () { throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation'); }; /** @inheritdoc */ O3rElement.prototype.setValue = function (_input) { throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation'); }; /** @inheritdoc */ O3rElement.prototype.clearValue = function () { throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation'); }; /** @inheritdoc */ O3rElement.prototype.isVisible = function () { throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation'); }; return O3rElement; }()); exports.O3rElement = O3rElement; //# sourceMappingURL=element.js.map