diff --git a/README.md b/README.md index d0b3d427..79d9f599 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ repositories { Add the following dependency: ``` dependencies { - compile 'com.redhat.devtools.intellij:intellij-common-ui-test-library:0.0.7' + compile 'com.redhat.devtools.intellij:intellij-common-ui-test-library:0.0.8-SNAPSHOT' } ``` diff --git a/gradle.properties b/gradle.properties index 61a78ef4..fe043f9c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ -projectVersion=0.0.7 +projectVersion=0.0.8-SNAPSHOT nexusUser=invalid nexusPassword=invalid diff --git a/src/main/java/com/redhat/devtools/intellij/commonuitest/UITestRunner.java b/src/main/java/com/redhat/devtools/intellij/commonuitest/UITestRunner.java index 5bfd4951..e1e74244 100644 --- a/src/main/java/com/redhat/devtools/intellij/commonuitest/UITestRunner.java +++ b/src/main/java/com/redhat/devtools/intellij/commonuitest/UITestRunner.java @@ -95,14 +95,7 @@ public static RemoteRobot runIde(IdeaVersion ideaVersion) { * Close the IntelliJ Idea IDE from the 'Welcome to IntelliJ IDEA' dialog */ public static void closeIde() { - step("Close IntelliJ Idea", () -> { - if (remoteRobot.isWin()) { - remoteRobot.find(FlatWelcomeFrame.class, Duration.ofSeconds(10)).runJs("const horizontal_offset = component.getWidth() - 24;\n" + - "robot.click(component, new Point(horizontal_offset, 14), MouseButton.LEFT_BUTTON, 2);"); - } else { - ideProcess.destroy(); - } - }); + ideProcess.destroy(); } /**