@o3r/testing
Version:
The module provides testing (e2e, unit test) utilities to help you build your own E2E pipeline integrating visual testing.
23 lines • 925 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.O3rPageFixture = void 0;
var tslib_1 = require("tslib");
var index_1 = require("../../errors/index");
var component_fixture_1 = require("./component-fixture");
/**
* Implementation of the page fixture dedicated to Angular.
* Pages are not supposed to be used in a Angular environment!
*/
var O3rPageFixture = /** @class */ (function (_super) {
tslib_1.__extends(O3rPageFixture, _super);
function O3rPageFixture(element) {
return _super.call(this, element) || this;
}
/** @inheritdoc */
O3rPageFixture.prototype.getTitle = function () {
throw new index_1.TranspilationPurposeOnlyError('getTitle() operation has no sense in Angular context');
};
return O3rPageFixture;
}(component_fixture_1.O3rComponentFixture));
exports.O3rPageFixture = O3rPageFixture;
//# sourceMappingURL=page-fixture.js.map