@alwaysmeticulous/api 2.137.0 → 2.139.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.
|
@@ -68,6 +68,10 @@ export interface ScreenshotDiffResultCompared {
|
|
|
68
68
|
height: number;
|
|
69
69
|
mismatchPixels: number;
|
|
70
70
|
mismatchFraction: number;
|
|
71
|
+
/**
|
|
72
|
+
* First 8 characters of the hash of the diff image.
|
|
73
|
+
*/
|
|
74
|
+
diffHash?: string;
|
|
71
75
|
/**
|
|
72
76
|
* The result of comparing the redacted screenshots (i.e. screenshots taken after elements
|
|
73
77
|
* to ignore have been hidden/removed).
|
|
@@ -91,6 +95,10 @@ export interface RedactedScreenshotsCompared {
|
|
|
91
95
|
type: "no-diff" | "diff" | undefined;
|
|
92
96
|
mismatchPixels: number;
|
|
93
97
|
mismatchFraction: number;
|
|
98
|
+
/**
|
|
99
|
+
* First 8 characters of the hash of the diff image.
|
|
100
|
+
*/
|
|
101
|
+
diffHash?: string;
|
|
94
102
|
}
|
|
95
103
|
export interface RedactedScreenshotIncompatible {
|
|
96
104
|
type: "missing-base" | "missing-head" | "different-size";
|
|
@@ -110,6 +118,7 @@ export interface ScreenshotDiffResultDifference extends ScreenshotDiffResultComp
|
|
|
110
118
|
*/
|
|
111
119
|
export interface ScreenshotDiffResultFlake {
|
|
112
120
|
outcome: "flake";
|
|
121
|
+
evidence?: FlakeEvidence;
|
|
113
122
|
/**
|
|
114
123
|
* The original diff. Can be any outcome.
|
|
115
124
|
*/
|
|
@@ -124,6 +133,7 @@ export interface ScreenshotDiffResultFlake {
|
|
|
124
133
|
*/
|
|
125
134
|
diffsToHeadScreenshotOnRetries: ScreenshotDiffRetryResult[];
|
|
126
135
|
}
|
|
136
|
+
export type FlakeEvidence = "varied-results-on-retry" | "diff-is-known-flake";
|
|
127
137
|
export type ScreenshotDiffRetryResult = SingleTryScreenshotDiffRetryResult | ScreenshotDiffResultMissingBaseAndHead;
|
|
128
138
|
export type SingleTryScreenshotDiffRetryResult = {
|
|
129
139
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/api",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.139.0",
|
|
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": "
|
|
38
|
+
"gitHead": "229466d734551b1a13c242e83a7e0d5782461eb8"
|
|
39
39
|
}
|