File tree Expand file tree Collapse file tree 4 files changed +5
-14
lines changed
src/test/java/tests/applications/browser Expand file tree Collapse file tree 4 files changed +5
-14
lines changed Original file line number Diff line number Diff line change 54
54
55
55
- name : Step 6 - Publish package
56
56
run : |
57
- mvn -Dmaven.test.skip=true -Drevision=${{ steps.gitversion.outputs.semVer }} deploy
57
+ mvn -Dmaven.test.skip=true -P release - Drevision=${{ steps.gitversion.outputs.semVer }} deploy
58
58
env :
59
59
MVN_CENTRAL_USERNAME : ${{ secrets.OSSRH_USERNAME }}
60
60
MVN_CENTRAL_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
Original file line number Diff line number Diff line change 120
120
<dependency >
121
121
<groupId >org.seleniumhq.selenium</groupId >
122
122
<artifactId >selenium-java</artifactId >
123
- <version >4.8.1</version >
124
- </dependency >
125
- <dependency >
126
- <groupId >io.github.bonigarcia</groupId >
127
- <artifactId >webdrivermanager</artifactId >
128
- <version >5.6.3</version >
129
- <scope >test</scope >
123
+ <version >4.13.0</version >
130
124
</dependency >
131
125
<dependency >
132
126
<groupId >io.appium</groupId >
133
127
<artifactId >java-client</artifactId >
134
- <version >8.3 .0</version >
128
+ <version >8.6 .0</version >
135
129
<scope >test</scope >
136
130
</dependency >
137
131
<dependency >
264
258
<configuration >
265
259
<serverId >ossrh</serverId >
266
260
<nexusUrl >https://s01.oss.sonatype.org/</nexusUrl >
267
- <autoReleaseAfterClose >false</autoReleaseAfterClose >
268
- <skipStagingRepositoryClose >true</skipStagingRepositoryClose >
261
+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
269
262
</configuration >
270
263
</plugin >
271
264
</plugins >
Original file line number Diff line number Diff line change 2
2
3
3
import aquality .selenium .core .applications .AqualityModule ;
4
4
import com .google .inject .Injector ;
5
- import io .github .bonigarcia .wdm .WebDriverManager ;
6
5
7
6
public class AqualityServices extends aquality .selenium .core .applications .AqualityServices <ChromeApplication > {
8
7
private static final ThreadLocal <AqualityServices > INSTANCE_CONTAINER = ThreadLocal .withInitial (AqualityServices ::new );
@@ -28,7 +27,6 @@ public static ChromeApplication getApplication() {
28
27
}
29
28
30
29
private static ChromeApplication startChrome (Injector injector ) {
31
- WebDriverManager .chromedriver ().setup ();
32
30
if (injector == null ) {
33
31
throw new RuntimeException ("cannot start Chrome without DI injector" );
34
32
}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public class ChromeApplication implements IApplication {
12
12
private final RemoteWebDriver driver ;
13
13
14
14
ChromeApplication (long implicitWaitSeconds ) {
15
- driver = new ChromeDriver (new ChromeOptions ().addArguments ("--headless" , "--remote-allow-origins=*" ));
15
+ driver = new ChromeDriver (new ChromeOptions ().addArguments ("--headless" ));
16
16
setImplicitWaitTimeout (Duration .ofSeconds (implicitWaitSeconds ));
17
17
}
18
18
You can’t perform that action at this time.
0 commit comments