UNPKG

@o3r/testing

Version:

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

24 lines 867 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.O3rPageFixture = void 0; const index_1 = require("../errors/index"); const component_fixture_1 = require("./component-fixture"); /** * Mock for page fixture class. * This class is used for fixture compilation purpose. */ class O3rPageFixture extends component_fixture_1.O3rComponentFixture { /** * 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 */ constructor(_rootElement) { super(); } getTitle() { throw new index_1.TranspilationPurposeOnlyError('Should target Playwright implementation'); } } exports.O3rPageFixture = O3rPageFixture; //# sourceMappingURL=page-fixture.js.map