Skip to content

Commit

Permalink
#295 - Changing window location to fix Swing tests frame.setLocation(…
Browse files Browse the repository at this point in the history
…-600, -100);
  • Loading branch information
starnowski committed Nov 7, 2023
1 parent ef2a6af commit 0c188a9
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(-100, 0);
frame.setLocation(-600, -100);
//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 0c188a9

Please sign in to comment.