File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
main/java/io/visual_regression_tracker/sdk_java
test/java/io/visual_regression_tracker/sdk_java Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ public enum TestRunStatus {
11
11
OK ,
12
12
@ SerializedName ("approved" )
13
13
APPROVED ,
14
+ @ SerializedName ("autoApproved" )
15
+ AUTO_APPROVED ,
14
16
@ SerializedName ("failed" )
15
17
FAILED ,
16
18
@ SerializedName ("new" )
Original file line number Diff line number Diff line change @@ -286,6 +286,20 @@ public Object[][] shouldTrackPassCases() {
286
286
.url ("https://someurl.com/test/123123" )
287
287
.status (TestRunStatus .OK )
288
288
.build (),
289
+ },
290
+ {
291
+ TestRunResponse .builder ()
292
+ .id ("someId" )
293
+ .imageName ("imageName" )
294
+ .baselineName ("baselineName" )
295
+ .diffName ("diffName" )
296
+ .diffPercent (12.32f )
297
+ .diffTollerancePercent (0.01f )
298
+ .pixelMisMatchCount (1 )
299
+ .merge (false )
300
+ .url ("https://someurl.com/test/123123" )
301
+ .status (TestRunStatus .AUTO_APPROVED )
302
+ .build (),
289
303
}
290
304
};
291
305
}
You can’t perform that action at this time.
0 commit comments