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 {
1111 OK ,
1212 @ SerializedName ("approved" )
1313 APPROVED ,
14+ @ SerializedName ("autoApproved" )
15+ AUTO_APPROVED ,
1416 @ SerializedName ("failed" )
1517 FAILED ,
1618 @ SerializedName ("new" )
Original file line number Diff line number Diff line change @@ -286,6 +286,20 @@ public Object[][] shouldTrackPassCases() {
286286 .url ("https://someurl.com/test/123123" )
287287 .status (TestRunStatus .OK )
288288 .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 (),
289303 }
290304 };
291305 }
You can’t perform that action at this time.
0 commit comments