UNPKG

@o3r/testing

Version:

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

27 lines 1.07 kB
"use strict"; 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"); /** * Mock for page fixture class. * This class is used for fixture compilation purpose. */ var O3rPageFixture = /** @class */ (function (_super) { tslib_1.__extends(O3rPageFixture, _super); /** * Root element of this fixture. Optional in a Protractor. * All further queries will be applied to the element tree if any, otherwise they will be applied to the whole DOM. * @param _rootElement */ function O3rPageFixture(_rootElement) { return _super.call(this) || this; } O3rPageFixture.prototype.getTitle = function () { throw new index_1.TranspilationPurposeOnlyError('Should target Playwright implementation'); }; return O3rPageFixture; }(component_fixture_1.O3rComponentFixture)); exports.O3rPageFixture = O3rPageFixture; //# sourceMappingURL=page-fixture.js.map