Skip to content

Commit dacdc36

Browse files
authored
remove skip tests from unit tests (#45)
1 parent 2d5c7ae commit dacdc36

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

test/test_helper.rb

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ module Caps
4242
platformVersion: '10.3',
4343
deviceName: 'iPhone Simulator',
4444
useNewWDA: true,
45+
useJSONSource: true,
4546
some_capability: 'some_capability'
4647
},
4748
appium_lib: {

test/unit/android/device_test.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,7 @@ def test_hide_keyboard
323323
end
324324

325325
def test_keyevent
326-
skip('Because only for Selendroid')
327-
326+
# only for Selendroid
328327
stub_request(:post, "#{SESSION}/appium/device/keyevent")
329328
.to_return(headers: HEADER, status: 200, body: { value: '' }.to_json)
330329

test/unit/android/device_w3c_test.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,7 @@ def test_hide_keyboard
323323
end
324324

325325
def test_keyevent
326-
skip('Because only for Selendroid')
327-
326+
# only for Selendroid
328327
stub_request(:post, "#{SESSION}/appium/device/keyevent")
329328
.to_return(headers: HEADER, status: 200, body: { value: '' }.to_json)
330329

0 commit comments

Comments
 (0)