Skip to content

Commit

Permalink
chore: migrate to intellij gradle plugin 2.x
Browse files Browse the repository at this point in the history
Signed-off-by: Stephane Bouchet <sbouchet@redhat.com>
  • Loading branch information
sbouchet committed Jan 22, 2025
1 parent deed3aa commit be86633
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,14 @@ private void createQuarkusProject(RemoteRobot remoteRobot, String projectName, B
}

private void minimizeProjectImportPopupIfItAppears() {
waitForIgnoringError(Duration.ofSeconds(30), Duration.ofMillis(200), "Close the project import popup if it appears...", () -> {
remoteRobot.find(JButtonFixture.class, byXpath(XPathDefinitions.PROJECT_IMPORT_POPUP_MINIMIZE_BUTTON)).click();
return true;
});
try {
waitForIgnoringError(Duration.ofSeconds(30), Duration.ofMillis(200), "Close the project import popup if it appears...", () -> {
remoteRobot.find(JButtonFixture.class, byXpath(XPathDefinitions.PROJECT_IMPORT_POPUP_MINIMIZE_BUTTON)).click();
return true;
});
} catch (Exception e) {
//suppress non-existing popup timeout
}
}

private void buildGradleProject(GradleBuildToolPane gradleBuildToolPane) {
Expand Down

0 comments on commit be86633

Please sign in to comment.