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 66import static io .appium .java_client .service .local .AppiumServiceBuilder .APPIUM_PATH ;
77import static io .appium .java_client .service .local .flags .GeneralServerFlag .CALLBACK_ADDRESS ;
88import static io .appium .java_client .service .local .flags .GeneralServerFlag .SESSION_OVERRIDE ;
9+ import static io .appium .java_client .service .local .flags .GeneralServerFlag .BASEPATH ;
910import static io .github .bonigarcia .wdm .WebDriverManager .chromedriver ;
1011import static java .lang .System .getProperty ;
1112import static java .lang .System .setProperty ;
@@ -312,4 +313,11 @@ public void checkAbilityToStartServiceWithLogFileUsingShortFlag() {
312313 service .start ();
313314 assertTrue (testLogFile .exists ());
314315 }
316+
317+ @ Test
318+ public void checkAbilityToStartServiceUsingBasePath () {
319+ service = new AppiumServiceBuilder ().withArgument (BASEPATH , "/wd/hub" ).build ();
320+ service .start ();
321+ assertTrue (service .isRunning ());
322+ }
315323}
You can’t perform that action at this time.
0 commit comments