Skip to content

Commit

Permalink
#295 - Fixed Swing tests frame.setLocation(-800, -400)
Browse files Browse the repository at this point in the history
  • Loading branch information
starnowski committed Nov 7, 2023
1 parent 6b7f681 commit 007ef5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void setUp() {
String osName = System.getProperty("os.name");
if (osName != null && osName.toLowerCase().contains("linux")) {
// frame.setLocationByPlatform(true);
frame.setLocation(-800, -800);
frame.setLocation(-800, -400);
//Hack to fix issue for ubuntu and xvfb : org.assertj.swing.exception.ActionFailedException: The component to click is out of the boundaries of the screen
frame.setUndecorated(true);
}
Expand Down

0 comments on commit 007ef5d

Please sign in to comment.