Skip to content

Commit 038ec4e

Browse files
committed
test: add webSocketUrl in test
1 parent cae1716 commit 038ec4e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/unit/common_test.rb

+4
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ def test_create_session_w3c_with_http_package
134134
def test_add_appium_prefix_already_have_appium_prefix
135135
cap = {
136136
platformName: :ios,
137+
'webSocketUrl' => true,
137138
automationName: 'XCUITest',
138139
'appium:app' => 'test/functional/app/UICatalog.app.zip',
139140
platformVersion: '11.4',
@@ -154,6 +155,7 @@ def test_add_appium_prefix_already_have_appium_prefix
154155

155156
expected = {
156157
'platformName' => :ios,
158+
'webSocketUrl' => true,
157159
'automationName' => 'XCUITest',
158160
'appium:app' => 'test/functional/app/UICatalog.app.zip',
159161
'platformVersion' => '11.4',
@@ -170,6 +172,7 @@ def test_add_appium_prefix_already_have_appium_prefix
170172

171173
expected = {
172174
platformName: :ios,
175+
'webSocketUrl' => true,
173176
'appium:automationName' => 'XCUITest',
174177
'appium:app' => 'test/functional/app/UICatalog.app.zip',
175178
'appium:platformVersion' => '11.4',
@@ -187,6 +190,7 @@ def test_add_appium_prefix_already_have_appium_prefix
187190

188191
expected = {
189192
'platformName' => :ios,
193+
'webSocketUrl' => true,
190194
'appium:automationName' => 'XCUITest',
191195
'appium:app' => 'test/functional/app/UICatalog.app.zip',
192196
'appium:platformVersion' => '11.4',

0 commit comments

Comments
 (0)