From bbe19c213248c747bae4ac853d9476d067a81a7e Mon Sep 17 00:00:00 2001 From: Jurgen Date: Mon, 26 Aug 2019 14:40:54 +0200 Subject: [PATCH] Set Stage always on top A test can fail if a mouse interaction is involved and the stage is not in front. --- .../java/org/fxmisc/richtext/InlineCssTextAreaAppTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/richtextfx/src/integrationTest/java/org/fxmisc/richtext/InlineCssTextAreaAppTest.java b/richtextfx/src/integrationTest/java/org/fxmisc/richtext/InlineCssTextAreaAppTest.java index 249b63265..553dbe7ce 100644 --- a/richtextfx/src/integrationTest/java/org/fxmisc/richtext/InlineCssTextAreaAppTest.java +++ b/richtextfx/src/integrationTest/java/org/fxmisc/richtext/InlineCssTextAreaAppTest.java @@ -23,6 +23,7 @@ public void start(Stage stage) throws Exception { scene = new Scene(area); this.stage = stage; + stage.setAlwaysOnTop(true); stage.setScene(scene); stage.setWidth(400); stage.setHeight(400);