|
9 | 9 | <version>1.0.0</version>
|
10 | 10 |
|
11 | 11 | <properties>
|
12 |
| - <maven.compiler.target>1.8</maven.compiler.target> |
13 |
| - <maven.compiler.source>1.8</maven.compiler.source> |
| 12 | + <surefire.parallel>1</surefire.parallel> |
| 13 | + <maven.compiler.source>11</maven.compiler.source> |
| 14 | + <maven.compiler.target>11</maven.compiler.target> |
14 | 15 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
15 | 16 | </properties>
|
16 | 17 |
|
|
28 | 29 | <dependency>
|
29 | 30 | <groupId>org.seleniumhq.selenium</groupId>
|
30 | 31 | <artifactId>selenium-java</artifactId>
|
31 |
| - <version>4.13.0</version> |
32 |
| - </dependency> |
33 |
| - <dependency> |
34 |
| - <groupId>org.seleniumhq.selenium</groupId> |
35 |
| - <artifactId>selenium-http-jdk-client</artifactId> |
36 |
| - <version>4.13.0</version> |
| 32 | + <version>4.14.0</version> |
37 | 33 | </dependency>
|
38 | 34 | <dependency>
|
39 | 35 | <groupId>org.junit.jupiter</groupId>
|
40 | 36 | <artifactId>junit-jupiter-engine</artifactId>
|
41 | 37 | <version>5.10.0</version>
|
42 | 38 | <scope>test</scope>
|
43 | 39 | </dependency>
|
| 40 | + <dependency> |
| 41 | + <groupId>com.titusfortner</groupId> |
| 42 | + <artifactId>selenium-logger</artifactId> |
| 43 | + <version>2.2.1</version> |
| 44 | + </dependency> |
44 | 45 | </dependencies>
|
45 | 46 |
|
46 | 47 | <build>
|
|
50 | 51 | <artifactId>maven-surefire-plugin</artifactId>
|
51 | 52 | <version>3.1.2</version>
|
52 | 53 | <configuration>
|
53 |
| - <systemPropertyVariables> |
54 |
| - <webdriver.http.factory>jdk-http-client</webdriver.http.factory> |
55 |
| - </systemPropertyVariables> |
| 54 | + <properties> |
| 55 | + <configurationParameters> |
| 56 | + junit.jupiter.execution.parallel.enabled = true |
| 57 | + junit.jupiter.execution.parallel.mode.default = concurrent |
| 58 | + junit.jupiter.execution.parallel.config.strategy = fixed |
| 59 | + junit.jupiter.execution.parallel.config.fixed.parallelism = ${surefire.parallel} |
| 60 | + junit.jupiter.execution.parallel.config.fixed.max-pool-size = ${surefire.parallel} |
| 61 | + </configurationParameters> |
| 62 | + </properties> |
56 | 63 | </configuration>
|
57 | 64 | </plugin>
|
58 | 65 | </plugins>
|
|
0 commit comments