Skip to content

Commit

Permalink
Int: simplify test
Browse files Browse the repository at this point in the history
  • Loading branch information
abego committed Jun 19, 2022
1 parent 7fedcfd commit c137394
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,7 @@ void showIssuesSnapshotReview(@TempDir File tempDir) {
review.showSnapshotReviewFrame(frame -> frame.setSize(800, 360));

GT gt = GuiTesting.newGT();
// more configuration for "modern" windows with round corners and
// translucent border
//TODO: extract as helper code?
gt.setImageDifferenceIgnoredBorderSize(1);
gt.setImageDifferenceIgnoredCornerSize(10);
gt.makeScreenshotMatchingTolerant();

JFrame frame = gt.waitForWindowNamed(
JFrame.class, SNAPSHOT_REVIEW_FRAME_NAME);
Expand Down

0 comments on commit c137394

Please sign in to comment.