Skip to content

Commit

Permalink
remove unused line
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Jan 11, 2025
1 parent 0399ae5 commit 451bce2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,7 @@ def android(activity_name = nil)
}

# settins in caps should work over Appium 1.13.0
if cap[:capabilities][:automationName] == 'uiautomator2' && (
AppiumLibCoreTest.appium_version == 'beta' || AppiumLibCoreTest.appium_version == 'next'
)
if cap[:capabilities][:automationName] == 'uiautomator2'
cap[:capabilities]['settings[trackScrollEvents]'] = false
# reduce possible slowness
# https://developer.android.com/reference/androidx/test/uiautomator/Configurator#setActionAcknowledgmentTimeout(long)
Expand Down

0 comments on commit 451bce2

Please sign in to comment.