Skip to content

Commit a515e59

Browse files
Ignore test due to TestFX issue (should re-enable when fixed)
1 parent 0256049 commit a515e59

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

richtextfx/src/test/java/org/fxmisc/richtext/model/StyledTextAreaBehaviorTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import javafx.stage.Stage;
1010
import org.fxmisc.flowless.VirtualizedScrollPane;
1111
import org.fxmisc.richtext.InlineCssTextArea;
12+
import org.junit.Ignore;
1213
import org.junit.Test;
1314
import org.junit.runner.RunWith;
1415
import org.testfx.framework.junit.ApplicationTest;
@@ -77,11 +78,12 @@ public void pressingMiddleMouseButtonHidesContextMenu() {
7778
assert !area.getContextMenu().isShowing();
7879
}
7980

81+
@Ignore // push(CONTEXT_MENU) does not create a ContextMenuEvent properly, causing test to fail
8082
@Test
8183
public void requestingContextMenuViaKeyboardWorksOnWindows() {
8284
if (WINDOWS_OS) {
8385
clickOn(area);
84-
press(KeyCode.CONTEXT_MENU);
86+
push(KeyCode.CONTEXT_MENU);
8587

8688
assert area.getContextMenu().isShowing();
8789
}

0 commit comments

Comments
 (0)