You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/recheck-web/setup/maven.md
+86-3Lines changed: 86 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -51,10 +51,10 @@ With this, you can now turn to your favorite IDE (e.g. `mvn eclipse:eclipse`) an
51
51
52
52
Extract the archive to your hard drive. Note that for the ChromeDriver to work, you need the major version to match your Chrome version installed on your system. Now we should be all set up to create [your first test](../tutorial/explicit-checks.md).
53
53
54
-
## Using ReTest in connection with Spring
55
-
If you plan to use Spring alongside with ReTest in the same project, you should know the following:
54
+
## Using ***recheck*** in connection with Spring
55
+
If you plan to use Spring alongside with ***recheck*** in the same project, you should know the following:
56
56
57
-
Since Java version 11 `javax.xml.bind` is replaced by `jakarta.xml.bind`. ReTest already uses the newer version, meaningly `jakarta.xml.bind`, while
57
+
Since Java version 11 `javax.xml.bind` is replaced by `jakarta.xml.bind`. ***recheck*** already uses the newer version, meaningly `jakarta.xml.bind`, while
58
58
Spring is still using `javax.xml.bind`. To avoid any errors, it is necessary to add the following dependencies to your `pom.xml` file.
59
59
60
60
```xml
@@ -90,3 +90,86 @@ Spring is still using `javax.xml.bind`. To avoid any errors, it is necessary to
90
90
<scope>test</scope>
91
91
</dependency>
92
92
```
93
+
94
+
Furthermore, Spring defines Selenium version 3 in its POM file whereas ***recheck*** (version >= 1.13) is using Selenium version 4.
95
+
The respective dependencies must therefore be overwritten in your `pom.xml` file by adding the following block.
96
+
97
+
```xml
98
+
<dependencyManagement>
99
+
<dependencies>
100
+
<!-- START workaround selenium 4 -->
101
+
<!-- recheck >= 1.13 uses selenium 4, spring defines selenium 3 in parent-pom, so we need to overwrite it. -->
0 commit comments