@alwaysmeticulous/api 2.241.0 → 2.242.5

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.
@@ -30,6 +30,8 @@ export interface TestCaseReplayOptions extends Partial<ScreenshotDiffOptions> {
30
30
  *
31
31
  * `Running` = a worker is actively running the test run.
32
32
  *
33
+ * `PostProcessing` = the replays have completed and the test run is being post-processed. This is only used for session selection runs.
34
+ *
33
35
  * `Failure` = completed, and at least one replay had notable differences - a diff, missing-head or different-size (see has-notable-differences.ts in the main repo)
34
36
  *
35
37
  * `Success` = completed, and no replays had notable differences
@@ -37,13 +39,14 @@ export interface TestCaseReplayOptions extends Partial<ScreenshotDiffOptions> {
37
39
  * `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
38
40
  * into 'Running' in this case, if the worker retries it.
39
41
  */
40
- export type TestRunStatus = "Scheduled" | "Running" | "Success" | "Failure" | "ExecutionError";
42
+ export type TestRunStatus = "Scheduled" | "Running" | "PostProcessing" | "Success" | "Failure" | "ExecutionError";
41
43
  /**
42
44
  * Execution of a chunk of a test run chunk.
43
45
  *
44
- * The values and their meanings are the same as for {@link TestRunStatus}.
46
+ * The values and their meanings are the same as for {@link TestRunStatus}, except
47
+ * it's not possible for a test run chunk to be in the `PostProcessing` status.
45
48
  */
46
- export type TestRunChunkStatus = TestRunStatus;
49
+ export type TestRunChunkStatus = Omit<TestRunStatus, "PostProcessing">;
47
50
  export type TestCaseResultStatus = "pass" | "fail" | "flake";
48
51
  export interface TestCaseResult extends TestCase {
49
52
  headReplayId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/api",
3
- "version": "2.241.0",
3
+ "version": "2.242.5",
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": "516c9c1f8c6fa6d93a0290db37540d0a5ea7fcdd"
38
+ "gitHead": "53aeb46a0ef2d76a465f19efb0c492a28344b1b0"
39
39
  }