Skip to content

Commit c9af005

Browse files
committed
Update maven-surefire-plugin 3.0.0-M7
1 parent bf413a7 commit c9af005

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<plugin>
6464
<groupId>org.apache.maven.plugins</groupId>
6565
<artifactId>maven-surefire-plugin</artifactId>
66-
<version>2.22.2</version>
66+
<version>3.0.0-M7</version>
6767
<configuration>
6868
<suiteXmlFiles>
6969
<suiteXmlFile>suites/CategoryTest.xml</suiteXmlFile>

src/main/java/anhtester/com/keyword/ActionKeyword.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
import java.awt.event.KeyEvent;
55

66
public class ActionKeyword {
7-
public static void maximizeBrowserOnWindow(){
7+
public static void maximizeBrowserOnWindow() {
88
Robot rb = null;
99
try {
1010
rb = new Robot();
11+
rb.keyPress(KeyEvent.VK_WINDOWS);
12+
rb.keyPress(KeyEvent.VK_UP);
13+
rb.keyRelease(KeyEvent.VK_WINDOWS);
14+
rb.keyRelease(KeyEvent.VK_UP);
1115
} catch (AWTException e) {
1216
e.printStackTrace();
1317
}
14-
rb.keyPress(KeyEvent.VK_WINDOWS);
15-
rb.keyPress(KeyEvent.VK_UP);
16-
rb.keyRelease(KeyEvent.VK_WINDOWS);
17-
rb.keyRelease(KeyEvent.VK_UP);
1818
}
1919
}

0 commit comments

Comments
 (0)