Skip to content

Commit

Permalink
Added "setProjectLocation" for new Quarkus project page
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksii Korniienko <olkornii@redhat.com>
  • Loading branch information
olkornii authored and angelozerr committed Oct 22, 2024
1 parent e49baa8 commit db1d488
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,15 @@ public void setProjectName(String projectName) {
super.setProjectName(projectName);
}
}

/**
* Set the project location for new project in the 'New Project' Quarkus dialog
*
* @param projectLocation project location of the new project
*/
@Override
public void setProjectLocation(String projectLocation) {
find(JTextFieldFixture.class, byXpath("//div[@accessiblename='Project location:' and @class='JTextField']")).setText(projectLocation);
}

}

0 comments on commit db1d488

Please sign in to comment.