Detox
Detox copied to clipboard
feat: add `duration` and `point` (optional) parameters for `longPress()` action.
This pull request introduces optional parameters for the longPress() action on both iOS and Android:
duration: number: Specifies the duration of the long press (in ms). This parameter was previously supported on iOS but has now been extended to Android.point: {x: number, y: number}: Defines the position of the long press within the element's coordinate space.
Documentation has been updated accordingly, and relevant end-to-end tests have been added.