cypress-real-events icon indicating copy to clipboard operation
cypress-real-events copied to clipboard

add touchMoveDelay option to realSwipe

Open alirezamirian opened this issue 1 year ago • 2 comments

closes #620

Took the liberty of fixing some unrelated minor documentation issues too.

alirezamirian avatar Jan 30 '24 17:01 alirezamirian

PR Summary

  • Adjustment of the Default Length in RealSwipeOptions The length option in the RealSwipeOptions interface, 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 step option, controlling the increments in which the swipe action occurs within the RealSwipeOptions, 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 touchMoveDelay has been introduced to the RealSwipeOptions interface. 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 wait function 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 realSwipe function. Here, the system waits for the specified touchMoveDelay period before initiating the swipe action.

what-the-diff[bot] avatar Jan 30 '24 17:01 what-the-diff[bot]

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.

alirezamirian avatar Feb 08 '24 15:02 alirezamirian

:tada: This PR is included in version 1.13.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

dmtrKovalenko avatar Jun 15 '24 21:06 dmtrKovalenko