Sha256: 41c8fb18bbf9495e569f3ad26344bc3730a9a4bdbd3e2eb48d71ac8be6be430c

Contents?: true

Size: 967 Bytes

Versions: 112

Compression:

Stored size: 967 Bytes

Contents

Then /^I go back$/ do
  performAction('go_back')
end

Then /^I press the menu key$/ do
  performAction('press_menu')
end

Then /^I press the enter button$/ do
  performAction('send_key_enter')
end


Then /^I swipe left$/ do
  performAction('swipe', 'left')
end

Then /^I swipe right$/ do
  performAction('swipe', 'right')
end

Then /^I select "([^\"]*)" from the menu$/ do |item|  
  performAction('select_from_menu', item)
end

Then /^I select tab number (\d+)$/ do | tab |
  performAction('select_tab', tab)
end

# @param - the "tag" associated with the tab, or the text within the tab label
Then /^I select the "([^\"]*)" tab$/ do | tab |
  performAction('select_tab', tab)
end

Then /^I scroll down$/ do
  performAction('scroll_down')
end

Then /^I scroll up$/ do
  performAction('scroll_up')
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
   

Version data entries

112 entries across 112 versions & 2 rubygems

Version Path
calabash-android-0.3.8 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.7 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.6 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.5 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.4 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.3 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.3.pre5 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.3.pre3 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.3.pre2 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.3.pre1 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.2 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.2.pre5 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.2.pre4 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.2.pre3 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.2.pre2 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.2.pre1 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.1 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.0 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.0.pre10 lib/calabash-android/steps/navigation_steps.rb
calabash-android-0.3.0.pre9 lib/calabash-android/steps/navigation_steps.rb