@o3r/testing
Version:
The module provides testing (e2e, unit test) utilities to help you build your own E2E pipeline integrating visual testing.
17 lines • 555 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.O3rPageFixture = void 0;
const component_fixture_1 = require("./component-fixture");
/**
* Implementation of the page fixture dedicated to Playwright.
*/
class O3rPageFixture extends component_fixture_1.O3rComponentFixture {
constructor(rootElement) {
super(rootElement);
}
async getTitle() {
return await this.rootElement.sourceElement.page.title();
}
}
exports.O3rPageFixture = O3rPageFixture;
//# sourceMappingURL=page-fixture.js.map