lib/calabash-android/steps/navigation_steps.rb in calabash-android-0.2.18 vs lib/calabash-android/steps/navigation_steps.rb in calabash-android-0.2.19
- old
+ new
@@ -36,6 +36,11 @@
performAction('scroll_down')
end
Then /^I scroll up$/ do
performAction('scroll_up')
-end
\ No newline at end of file
+end
+
+Then /^I drag from (\d+):(\d+) to (\d+):(\d+) moving with (\d+) steps$/ do |fromX, fromY, toX, toY, steps|
+ performAction('drag',fromX,toX,fromY,toY,steps)
+end
+