From 451bce20d81a0a60c371212329592420cafe3441 Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Fri, 10 Jan 2025 21:53:59 -0800 Subject: [PATCH] remove unused line --- test/test_helper.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index f36e7300..c5050233 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -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)