UNPKG

@serenity-js/playwright

Version:

Adapter that integrates @serenity-js/web with Playwright, enabling Serenity/JS reporting and using the Screenplay Pattern to write component and end-to-end test scenarios

15 lines 468 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.promised = promised; /** * Playwright 1.33.0 and newer rely on "zones" recorded in the stack trace * to establish child-parent relationship between Playwright tasks. * * This helper function ensures that the stack trace is correctly recorded. * * @param value */ function promised(value) { return Promise.resolve().then(() => value); } //# sourceMappingURL=promised.js.map