calabash / calabash-android

Automated Functional testing for Android using cucumber
Other
1.68k stars 617 forks source link

Cannot use "perform_action" in version 0.9.8 #901

Open lbeaumont opened 6 years ago

lbeaumont commented 6 years ago

I recently upgrade calabash from 0.9.0 to 0.9.8 I frequently use le function _performaction('drag', 50, 50, 30, 70, 5) because the function _scrolldown doesn't work on a non scrollable view. This worked fine on version 0.9.0 It seems that it doesn't work any more on version 0.9.8

irb(main):008:0> perform_action('drag', 50, 50, 30, 70, 5)
RuntimeError: Step timed out
    from /Users/ci/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/calabash-android-0.9.8/lib/calabash-android/operations.rb:467:in `rescue in perform_action'
    from /Users/ci/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/calabash-android-0.9.8/lib/calabash-android/operations.rb:447:in `perform_action'
    from /Users/ci/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/calabash-android-0.9.8/lib/calabash-android/operations.rb:93:in `perform_action'
    from (irb):8
    from /Users/ci/.rbenv/versions/2.3.1/bin/irb:11:in `<main>'

Did someone find the same behavior ? Have any solution or workaround ?