@@ -9,12 +9,12 @@ const config = (() => {
9
9
. option ( "testFolder" , { describe : "e2e test folder name" , default : "e2e" , type : "string" } )
10
10
. option ( "appiumCapsLocation" , { describe : "Capabilities" , type : "string" } )
11
11
. option ( "sauceLab" , { describe : "SauceLab" , default : false , type : "boolean" } )
12
- . option ( "port" , { alias : "p" , describe : "Appium port" , type : "number" , default : 4723 } )
12
+ . option ( "port" , { alias : "p" , describe : "Appium port" , type : "number" } )
13
13
. option ( "attachToDebug" , { alias : "a" , describe : "Attach to appium desktop app." , default : false , type : "boolean" } )
14
14
. option ( "capabilitiesName" , { describe : "Capabilities file name" , default : "appium.capabilities.json" , type : "string" } )
15
15
. option ( "sessionId" , { alias : "s" , describe : "Session to attach" , default : false , type : "string" } )
16
16
. option ( "startSession" , { describe : "Start session." , default : false , type : "boolean" } )
17
- . option ( "wdaLocalPort" , { alias : "wda" , describe : "WDA port" , default : 8410 , type : "number" } )
17
+ . option ( "wdaLocalPort" , { alias : "wda" , describe : "WDA port" , type : "number" } )
18
18
. option ( "verbose" , { alias : "v" , describe : "Log actions" , type : "boolean" } )
19
19
. option ( "path" , { describe : "path" , default : process . cwd ( ) , type : "string" } )
20
20
. option ( "relaxedSecurity" , { describe : "appium relaxedSecurity" , default : false , type : "boolean" } )
@@ -70,8 +70,8 @@ const config = (() => {
70
70
projectBinary : projectBinary ,
71
71
pluginRoot : pluginRoot ,
72
72
pluginBinary : pluginBinary ,
73
- port : options . port || process . env . npm_config_port || process . env [ "APPIUM_PORT" ] || 8300 ,
74
- wdaLocalPort : options . wdaLocalPort || process . env . npm_config_wdaLocalPort || process . env [ "WDA_LOCAL_PORT" ] ,
73
+ port : options . port || process . env . npm_config_port || process . env [ "APPIUM_PORT" ] || 4723 ,
74
+ wdaLocalPort : options . wdaLocalPort || process . env . npm_config_wdaLocalPort || process . env [ "WDA_LOCAL_PORT" ] || 8410 ,
75
75
testFolder : options . testFolder || process . env . npm_config_testFolder || "e2e" ,
76
76
runType : options . runType || process . env . npm_config_runType ,
77
77
appiumCapsLocation : options . appiumCapsLocation || process . env . npm_config_appiumCapsLocation || join ( projectDir , options . testFolder , "config" , options . capabilitiesName ) ,
0 commit comments