The following best practices should help you in your quest for a smoother continuous integration process.
We have predefined method called dragAndDrop(source, destination) which is a method of Actions class.
“A test case has components that describes an input, action or event and an expected response, to determine if a feature of an application is working correctly.”