Skip to content

Commit

Permalink
Remove one more robot usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Naton1 committed Jul 30, 2022
1 parent 1bfd61d commit fa4c19a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ void testExecuteRemoteCode(FxRobot fxRobot) throws Exception {
fxRobotPlus.waitUntil(() -> fxRobotPlus.select(treeView, simpleName), 5000);
fxRobotPlus.selectContextMenu(treeView, "Run Code In Package");
fxRobotPlus.waitForStageExists("Remote Code Executor.*");
fxRobotPlus.targetWindow("Remote Code Executor.*").clickOn("Execute Code");
fxRobotPlus.targetWindow("Remote Code Executor.*").lookup("Execute Code")
.queryButton()
.getOnAction()
.handle(null);

final TextInputControl textArea = fxRobotPlus.targetWindow("Remote Code Executor.*")
.lookup(TextArea.class::isInstance)
Expand Down

0 comments on commit fa4c19a

Please sign in to comment.