File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/test/java/io/appium/java_client/service/local Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 6
6
import static io .appium .java_client .service .local .AppiumServiceBuilder .APPIUM_PATH ;
7
7
import static io .appium .java_client .service .local .flags .GeneralServerFlag .CALLBACK_ADDRESS ;
8
8
import static io .appium .java_client .service .local .flags .GeneralServerFlag .SESSION_OVERRIDE ;
9
+ import static io .appium .java_client .service .local .flags .GeneralServerFlag .BASEPATH ;
9
10
import static io .github .bonigarcia .wdm .WebDriverManager .chromedriver ;
10
11
import static java .lang .System .getProperty ;
11
12
import static java .lang .System .setProperty ;
@@ -312,4 +313,11 @@ public void checkAbilityToStartServiceWithLogFileUsingShortFlag() {
312
313
service .start ();
313
314
assertTrue (testLogFile .exists ());
314
315
}
316
+
317
+ @ Test
318
+ public void checkAbilityToStartServiceUsingBasePath () {
319
+ service = new AppiumServiceBuilder ().withArgument (BASEPATH , "/wd/hub" ).build ();
320
+ service .start ();
321
+ assertTrue (service .isRunning ());
322
+ }
315
323
}
You can’t perform that action at this time.
0 commit comments