Skip to content

Commit

Permalink
add autoApproved status; (#86)
Browse files Browse the repository at this point in the history
* add autoApproved status;
  • Loading branch information
vkostromin94 authored May 26, 2022
1 parent 3337a75 commit c599671
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ public enum TestRunStatus {
OK,
@SerializedName("approved")
APPROVED,
@SerializedName("autoApproved")
AUTO_APPROVED,
@SerializedName("failed")
FAILED,
@SerializedName("new")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,20 @@ public Object[][] shouldTrackPassCases() {
.url("https://someurl.com/test/123123")
.status(TestRunStatus.OK)
.build(),
},
{
TestRunResponse.builder()
.id("someId")
.imageName("imageName")
.baselineName("baselineName")
.diffName("diffName")
.diffPercent(12.32f)
.diffTollerancePercent(0.01f)
.pixelMisMatchCount(1)
.merge(false)
.url("https://someurl.com/test/123123")
.status(TestRunStatus.AUTO_APPROVED)
.build(),
}
};
}
Expand Down

0 comments on commit c599671

Please sign in to comment.