@alwaysmeticulous/replay-orchestrator-launcher
Advanced tools
Comparing version 2.51.0 to 2.52.0
@@ -1,3 +0,4 @@ | ||
import { ExecuteTestRunOptions, ExecuteTestRunResult, ReplayAndStoreResultsOptions, ReplayExecution } from "@alwaysmeticulous/sdk-bundles-api"; | ||
import { ExecuteScheduledTestRunOptions, ExecuteTestRunOptions, ExecuteTestRunResult, ReplayAndStoreResultsOptions, ReplayExecution } from "@alwaysmeticulous/sdk-bundles-api"; | ||
export declare const replayAndStoreResults: (options: Omit<ReplayAndStoreResultsOptions, "logLevel" | "chromeExecutablePath">) => Promise<ReplayExecution>; | ||
export declare const executeScheduledTestRun: (options: Omit<ExecuteScheduledTestRunOptions, "logLevel" | "chromeExecutablePath">) => Promise<ExecuteTestRunResult>; | ||
export declare const executeTestRun: (options: Omit<ExecuteTestRunOptions, "logLevel" | "chromeExecutablePath">) => Promise<ExecuteTestRunResult>; |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.executeTestRun = exports.replayAndStoreResults = void 0; | ||
exports.executeTestRun = exports.executeScheduledTestRun = exports.replayAndStoreResults = void 0; | ||
const common_1 = require("@alwaysmeticulous/common"); | ||
@@ -22,2 +22,12 @@ const downloading_helpers_1 = require("@alwaysmeticulous/downloading-helpers"); | ||
exports.replayAndStoreResults = replayAndStoreResults; | ||
const executeScheduledTestRun = async (options) => { | ||
const logger = loglevel_1.default.getLogger(common_1.METICULOUS_LOGGER_NAME); | ||
const bundleLocation = await (0, downloading_helpers_1.fetchAsset)("replay/v3/execute-scheduled-test-run.bundle.js"); | ||
return (await require(bundleLocation)).executeTestRun({ | ||
...options, | ||
chromeExecutablePath: getChromiumExecutablePath(), | ||
logLevel: logger.getLevel(), | ||
}); | ||
}; | ||
exports.executeScheduledTestRun = executeScheduledTestRun; | ||
const executeTestRun = async (options) => { | ||
@@ -24,0 +34,0 @@ const logger = loglevel_1.default.getLogger(common_1.METICULOUS_LOGGER_NAME); |
{ | ||
"name": "@alwaysmeticulous/replay-orchestrator-launcher", | ||
"version": "2.51.0", | ||
"version": "2.52.0", | ||
"description": "Downloads the replay-orchestrator bundle script and executes it", | ||
@@ -24,3 +24,3 @@ "license": "ISC", | ||
"@alwaysmeticulous/downloading-helpers": "^2.51.0", | ||
"@alwaysmeticulous/sdk-bundles-api": "^2.51.0", | ||
"@alwaysmeticulous/sdk-bundles-api": "^2.52.0", | ||
"loglevel": "^1.8.0", | ||
@@ -46,3 +46,3 @@ "puppeteer": "19.11.1" | ||
}, | ||
"gitHead": "e279b13a7094855cd670df128dbca273b668b266" | ||
"gitHead": "02f3ef032edd725b584f765b94355eebbd113455" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5800
52
3