Skip to content

Commit

Permalink
Merge pull request #4 from Visual-Regression-Tracker/69-branch-strategy
Browse files Browse the repository at this point in the history
branch name added
  • Loading branch information
pashidlos authored Jul 11, 2020
2 parents 1ed7b42 + d79e32a commit 70e1c81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ TestRunResponse submitTestRun(String name, String imageBase64, TestRunOptions te
TestRunRequest newTestRun = TestRunRequest.builder()
.projectId(this.projectId)
.buildId(this.buildId)
.branchName(this.visualRegressionTrackerConfig.branchName)
.name(name)
.imageBase64(imageBase64)
.os(testRunOptions.getOs())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ public class TestRunRequest {
String viewport;
String device;
Integer diffTollerancePercent;
String branchName;
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ void shouldSubmitTestRun() throws IOException, InterruptedException {
.build();
TestRunRequest testRunRequest = TestRunRequest.builder()
.projectId(projectId)
.branchName(config.branchName)
.buildId(buildId)
.name(name)
.imageBase64(imageBase64)
Expand Down

0 comments on commit 70e1c81

Please sign in to comment.