@alwaysmeticulous/api 2.255.0 → 2.257.1

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.
@@ -37,10 +37,12 @@ export interface TestCaseReplayOptions extends Partial<ScreenshotDiffOptions> {
37
37
  *
38
38
  * `Success` = completed, and no replays had notable differences
39
39
  *
40
+ * `Aborted` = the test run was stopped before it could complete
41
+ *
40
42
  * `ExecutionError` = the test run failed fatally, and didn't complete. To get accurate results it'll need to be re-run. The test run may shortly switch back
41
43
  * into 'Running' in this case, if the worker retries it.
42
44
  */
43
- export type TestRunStatus = "Scheduled" | "Running" | "PostProcessing" | "Success" | "Failure" | "ExecutionError";
45
+ export type TestRunStatus = "Scheduled" | "Running" | "PostProcessing" | "Success" | "Failure" | "Aborted" | "ExecutionError";
44
46
  /**
45
47
  * Execution of a chunk of a test run chunk.
46
48
  *
@@ -18,6 +18,8 @@ export interface EndStateScreenshot extends LogicVersioned {
18
18
  type: "end-state";
19
19
  /** If unset is normal variant */
20
20
  variant?: ScreenshotVariant;
21
+ /** Optional image hash of the screenshot */
22
+ imageHash?: string;
21
23
  }
22
24
  export interface ScreenshotAfterEvent extends LogicVersioned {
23
25
  type: "after-event";
@@ -25,6 +27,8 @@ export interface ScreenshotAfterEvent extends LogicVersioned {
25
27
  eventNumber: number;
26
28
  /** If unset is normal variant */
27
29
  variant?: ScreenshotVariant;
30
+ /** Optional image hash of the screenshot */
31
+ imageHash?: string;
28
32
  }
29
33
  /**
30
34
  * normal = the original screenshot to be displayed to the user
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/api",
3
- "version": "2.255.0",
3
+ "version": "2.257.1",
4
4
  "description": "Meticulous API types",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",
@@ -35,5 +35,5 @@
35
35
  "bugs": {
36
36
  "url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
37
37
  },
38
- "gitHead": "8dab55364c5bdcfa9874f497d37f51bbe3ce7786"
38
+ "gitHead": "1ac81a76cdc1434dee4b4cb02ff8f442085793a4"
39
39
  }