cypress-real-events
cypress-real-events copied to clipboard
add touchMoveDelay option to realSwipe
closes #620
Took the liberty of fixing some unrelated minor documentation issues too.
PR Summary
-
Adjustment of the Default Length in RealSwipeOptions The
lengthoption in theRealSwipeOptionsinterface, which controls the distance of swipe motion in a real swipe action, has been revised. It has been changed from a default value of 50 to 10, making swipe actions shorter by default. -
Change in Default Step Value in RealSwipeOptions The
stepoption, controlling the increments in which the swipe action occurs within theRealSwipeOptions, has been updated to a default value of 10. A smaller step size could make the swipe action appear smoother. -
Introduction of touchMoveDelay Option to RealSwipeOptions A new parameter
touchMoveDelayhas been introduced to theRealSwipeOptionsinterface. With a default setting of 0, this parameter allows a delay to be implemented before a swipe action begins. -
Introduction of Wait Function A new
waitfunction has been added which creates a delay for a designated period. This enables system pauses and holds during processing, providing more flexibility in behavior control. -
Delay Before Swipe in realSwipe Function In order to delay the swipe action, a check has been integrated within the
realSwipefunction. Here, the system waits for the specifiedtouchMoveDelayperiod before initiating the swipe action.
Is this waiting for the CI pipeline to pass? I had a look at the error and it seemed like an unrelated issue in running Cypress.
:tada: This PR is included in version 1.13.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket: