Skip to content

Commit

Permalink
(fix) Use os-independent SHORTCUT, not CONTROL keycode
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanMartinez authored and brcolow committed Dec 8, 2016
1 parent 3ffd597 commit 3a7ae43
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

import static javafx.scene.input.KeyCode.A;
import static javafx.scene.input.KeyCode.BACK_SPACE;
import static javafx.scene.input.KeyCode.CONTROL;
import static javafx.scene.input.KeyCode.SHORTCUT;
import static org.loadui.testfx.GuiTest.find;

public class TextInputControls {
Expand Down Expand Up @@ -54,7 +54,7 @@ protected Parent getRootNode() {
};

fx.clickOn(textControl);
fx.push(CONTROL, A).push(BACK_SPACE);
fx.push(SHORTCUT, A).push(BACK_SPACE);
}

}

0 comments on commit 3a7ae43

Please sign in to comment.