diff --git a/src/it/java/org/jboss/tools/intellij/quarkus/fixtures/dialogs/project/pages/QuarkusNewProjectFinalPage.java b/src/it/java/org/jboss/tools/intellij/quarkus/fixtures/dialogs/project/pages/QuarkusNewProjectFinalPage.java index 284996d8c..a18220fc7 100644 --- a/src/it/java/org/jboss/tools/intellij/quarkus/fixtures/dialogs/project/pages/QuarkusNewProjectFinalPage.java +++ b/src/it/java/org/jboss/tools/intellij/quarkus/fixtures/dialogs/project/pages/QuarkusNewProjectFinalPage.java @@ -46,4 +46,19 @@ public void setProjectName(String projectName) { super.setProjectName(projectName); } } + + @Override + public String getProjectLocation() { + return find(JTextFieldFixture.class, byXpath("//div[@accessiblename='Project location:' and @class='JTextField']")).getText(); + } + + /** + * 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); + } } \ No newline at end of file