appium-boneyard/appium-android-bootstrap

UiScrollableParser.coerceArgToType lacks support for type double

tcnh opened this issue · 1 comments

tcnh commented

We're trying to use setSwipeDeadZonePercentage(double percentage) to be able to use a partially obscured UiScrollView.

This method takes a double between 0 and 1 as its argument. When passing i.e. 0.2, AndroidBootstrap logs:

[AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiScrollable coerce type: double arg: 0.2
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":9,"value":"Could not parse UiSelector argument: Could not coerce 0.2 to any sort of Type"}

Doc: https://developer.android.com/reference/android/support/test/uiautomator/UiScrollable.html#setSwipeDeadZonePercentage(double)

Issue moved to appium/appium #7502 via ZenHub