Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import javafx.stage.Stage;
import org.fxmisc.flowless.VirtualizedScrollPane;
import org.fxmisc.richtext.InlineCssTextArea;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.testfx.framework.junit.ApplicationTest;
Expand Down Expand Up @@ -77,11 +78,12 @@ public void pressingMiddleMouseButtonHidesContextMenu() {
assert !area.getContextMenu().isShowing();
}

@Ignore // push(CONTEXT_MENU) does not create a ContextMenuEvent properly, causing test to fail
@Test
public void requestingContextMenuViaKeyboardWorksOnWindows() {
if (WINDOWS_OS) {
clickOn(area);
press(KeyCode.CONTEXT_MENU);
push(KeyCode.CONTEXT_MENU);

assert area.getContextMenu().isShowing();
}
Expand Down