I'm trying to delete an element doing swipe left over it. This option exist in two ways in my application.
- Do short swipe left and the delete button appears, then you can press it. No problem here.
- Do long swipe left and the element will be deleted without second asking.
The second option I could not reproduce it with XCUIElements function.
The only function I found to do is element.swipeLeft() but did not found how to do a long swipe left.