Sha256: 3fea58fbf39f9861fdd7c5faa86a4ac0bec7a731a5736912665a3f9127a5d2b6
Contents?: true
Size: 995 Bytes
Versions: 1
Compression:
Stored size: 995 Bytes
Contents
Then /^I go back$/ do press_back_button end Then /^I press the menu key$/ do press_menu_button end Then /^I press the enter button$/ do perform_action('send_key_enter') end Then /^I swipe left$/ do perform_action('swipe', 'left') end Then /^I swipe right$/ do perform_action('swipe', 'right') end Then /^I select "([^\"]*)" from the menu$/ do |text| select_options_menu_item(text) end Then /^I select tab number (\d+)$/ do | tab | touch("android.widget.TabWidget descendant TextView index:#{tab.to_i-1}") end # @param - the "tag" associated with the tab, or the text within the tab label Then /^I select the "([^\"]*)" tab$/ do | tab | touch("android.widget.TabWidget descendant TextView {text LIKE[c] '#{tab}'}") end Then /^I scroll down$/ do scroll_down end Then /^I scroll up$/ do scroll_up end Then /^I drag from (\d+):(\d+) to (\d+):(\d+) moving with (\d+) steps$/ do |fromX, fromY, toX, toY, steps| perform_action('drag',fromX,toX,fromY,toY,steps) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
calabash-android-0.5.0.pre1 | lib/calabash-android/steps/navigation_steps.rb |