Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/main/java/io/visual_regression_tracker/sdk_java/TestRunOptions.java
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public class TestRunOptions {
private final String browser;
private final String viewport;
private final String device;
private final String customTags;
private final Float diffTollerancePercent;
private final List<IgnoreAreas> ignoreAreas;
}
1 change: 1 addition & 0 deletions src/main/java/io/visual_regression_tracker/sdk_java/VisualRegressionTracker.java
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ protected TestRunResponse submitTestRun(String name, String imageBase64,
.browser(testRunOptions.getBrowser())
.viewport(testRunOptions.getViewport())
.device(testRunOptions.getDevice())
.customTags(testRunOptions.getCustomTags())
.diffTollerancePercent(testRunOptions.getDiffTollerancePercent())
.ignoreAreas(testRunOptions.getIgnoreAreas())
.build();
Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/visual_regression_tracker/sdk_java/request/TestRunRequest.java
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public class TestRunRequest {
private final String browser;
private final String viewport;
private final String device;
private final String customTags;
private final Float diffTollerancePercent;
private final String branchName;
private final List<IgnoreAreas> ignoreAreas;
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/io/visual_regression_tracker/sdk_java/VisualRegressionTrackerTest.java
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ public void shouldSubmitTestRun() throws IOException, InterruptedException {
.os("OS")
.browser("Browser")
.viewport("Viewport")
.customTags("customTags")
.diffTollerancePercent(0.5f)
.ignoreAreas(Arrays.asList(IgnoreAreas.builder()
.x(100L)
Expand All @@ -168,6 +169,7 @@ public void shouldSubmitTestRun() throws IOException, InterruptedException {
.browser(testRunOptions.getBrowser())
.viewport(testRunOptions.getViewport())
.device(testRunOptions.getDevice())
.customTags(testRunOptions.getCustomTags())
.diffTollerancePercent(testRunOptions.getDiffTollerancePercent())
.ignoreAreas(testRunOptions.getIgnoreAreas())
.build();
Expand Down