File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -303,6 +303,16 @@ def android(activity_name = nil)
303
303
AppiumLibCoreTest . appium_version == 'beta' || AppiumLibCoreTest . appium_version == 'next'
304
304
)
305
305
cap [ :capabilities ] [ 'settings[trackScrollEvents]' ] = false
306
+ # reduce possible slowness
307
+ # https://developer.android.com/reference/androidx/test/uiautomator/Configurator#setActionAcknowledgmentTimeout(long)
308
+ # _Generally, this timeout should not be modified_
309
+ # cap[:capabilities]['settings[actionAcknowledgmentTimeout]'] = 0
310
+ # https://developer.android.com/reference/androidx/test/uiautomator/Configurator#setScrollAcknowledgmentTimeout(long)
311
+ # _Generally, this timeout should not be modified_
312
+ # cap[:capabilities]['settings[scrollAcknowledgmentTimeout]'] = 0
313
+ cap [ :capabilities ] [ 'settings[waitForIdleTimeout]' ] = 0
314
+ # Maybe this does not help so much.
315
+ # cap[:capabilities]['settings[waitForSelectorTimeout]'] = 0
306
316
else
307
317
cap [ :capabilities ] [ :forceEspressoRebuild ] = false
308
318
cap [ :capabilities ] [ :espressoBuildConfig ] = { } . to_json
You can’t perform that action at this time.
0 commit comments