@alwaysmeticulous/sdk-bundles-api 2.63.0 → 2.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/dist/replay-orchestrator/bundle-to-sdk/execute-scheduled-test-run.d.ts +8 -0
- package/dist/replay-orchestrator/bundle-to-sdk/execute-scheduled-test-run.js +2 -0
- package/dist/replay-orchestrator/sdk-to-bundle/execute-scheduled-test-run.d.ts +7 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -4,4 +4,5 @@ export { ReplayAndStoreResultsOptions, ReplayTarget, SnapshottedAssetsReplayTarg
|
|
|
4
4
|
export { ExecuteTestRunOptions } from "./replay-orchestrator/sdk-to-bundle/execute-test-run";
|
|
5
5
|
export { ExecuteScheduledTestRunOptions } from "./replay-orchestrator/sdk-to-bundle/execute-scheduled-test-run";
|
|
6
6
|
export { ExecuteTestRunResult, TestRunExecution, RunningTestRunExecution, FinishedTestRunExecution, TestRunProgress, DetailedTestCaseResult, } from "./replay-orchestrator/bundle-to-sdk/execute-test-run";
|
|
7
|
+
export { InProgressTestRun } from "./replay-orchestrator/bundle-to-sdk/execute-scheduled-test-run";
|
|
7
8
|
export { ReplayAndStoreResultsResult, ReplayExecution, BeforeUserEventResult, } from "./replay-orchestrator/bundle-to-sdk/execute-replay";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ExecuteTestRunResult } from "./execute-test-run";
|
|
2
|
+
export interface InProgressTestRun {
|
|
3
|
+
/**
|
|
4
|
+
* The results of the tests that were executed. Resolves when the test run completes.
|
|
5
|
+
*/
|
|
6
|
+
result: Promise<ExecuteTestRunResult>;
|
|
7
|
+
markTestRunAsFailed: () => Promise<void>;
|
|
8
|
+
}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { ExecuteTestRunOptions } from "./execute-test-run";
|
|
2
|
-
export type ExecuteScheduledTestRunOptions = Pick<ExecuteTestRunOptions, "chromeExecutablePath" | "apiToken" | "parallelTasks" | "
|
|
2
|
+
export type ExecuteScheduledTestRunOptions = Pick<ExecuteTestRunOptions, "chromeExecutablePath" | "apiToken" | "parallelTasks" | "logLevel" | "logicalEnvironmentVersion"> & {
|
|
3
3
|
/**
|
|
4
4
|
* The ID of the scheduled test run to execute.
|
|
5
5
|
*/
|
|
6
6
|
testRunId: string;
|
|
7
|
+
/**
|
|
8
|
+
* If true then the test run will be restarted even if it's already completed or in the process of running.
|
|
9
|
+
*
|
|
10
|
+
* Existing test run results will be deleted and overwritten.
|
|
11
|
+
*/
|
|
12
|
+
forceRestart?: boolean;
|
|
7
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/sdk-bundles-api",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.66.0",
|
|
4
4
|
"description": "Meticulous common types",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"bugs": {
|
|
47
47
|
"url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "3723a72bce54d1c88ac5aad2051e972cfb79373d"
|
|
50
50
|
}
|