@@ -198,8 +198,8 @@ def test_default_timeout_for_http_client_with_direct_appium_prefix
198198 appPackage : 'io.appium.android.apis' ,
199199 appActivity : 'io.appium.android.apis.ApiDemos' ,
200200 someCapability : 'some_capability' ,
201- 'appium:directConnectProtocol' => 'http ' ,
202- 'appium:directConnectHost' => '1.1.1.1 ' ,
201+ 'appium:directConnectProtocol' => 'https ' ,
202+ 'appium:directConnectHost' => 'appium.io ' ,
203203 'appium:directConnectPort' => '8888' ,
204204 'appium:directConnectPath' => '/wd/hub'
205205 }
@@ -209,14 +209,14 @@ def test_default_timeout_for_http_client_with_direct_appium_prefix
209209 stub_request ( :post , 'http://127.0.0.1:4723/session' )
210210 . to_return ( headers : HEADER , status : 200 , body : response )
211211
212- stub_request ( :post , 'http ://1.1.1.1 :8888/wd/hub/session/1234567890/timeouts' )
212+ stub_request ( :post , 'https ://appium.io :8888/wd/hub/session/1234567890/timeouts' )
213213 . with ( body : { implicit : 30_000 } . to_json )
214214 . to_return ( headers : HEADER , status : 200 , body : { value : nil } . to_json )
215215
216216 driver = core . start_driver
217217
218218 assert_requested ( :post , 'http://127.0.0.1:4723/session' , times : 1 )
219- assert_requested ( :post , 'http ://1.1.1.1 :8888/wd/hub/session/1234567890/timeouts' ,
219+ assert_requested ( :post , 'https ://appium.io :8888/wd/hub/session/1234567890/timeouts' ,
220220 body : { implicit : 30_000 } . to_json , times : 1 )
221221 driver
222222 end
@@ -229,7 +229,7 @@ def test_default_timeout_for_http_client_with_direct_appium_prefix
229229 uri = driver . send ( :bridge ) . http . send ( :server_url )
230230 assert core . direct_connect
231231 assert_equal 'http' , uri . scheme
232- assert_equal '1.1.1.1 ' , uri . host
232+ assert_equal 'appium.io ' , uri . host
233233 assert_equal 8888 , uri . port
234234 assert_equal '/wd/hub/' , uri . path
235235 end
0 commit comments