Sha256: 5bb96b455d70a128306ca1f071cc721d236aac9f17a94794cc9e8c3342a1b8f6
Contents?: true
Size: 701 Bytes
Versions: 90
Compression:
Stored size: 701 Bytes
Contents
Then /^I long press "([^\"]*)" and select item number (\d+)$/ do |text, index| step_deprecated long_press_when_element_exists("* {text CONTAINS[c] '#{text}'}") tap_when_element_exists("com.android.internal.view.menu.ListMenuItemView android.widget.TextView index:#{index.to_i - 1}") end Then /^I long press "([^\"]*)" and select "([^\"]*)"$/ do |text, identifier| step_deprecated long_press_when_element_exists("* {text CONTAINS[c] '#{text}'}") tap_when_element_exists("com.android.internal.view.menu.ListMenuItemView android.widget.TextView marked:'#{identifier}'") end Then /^I long press "([^\"]*)"$/ do |text| long_press_when_element_exists("* {text CONTAINS[c] '#{text}'}") end
Version data entries
90 entries across 90 versions & 1 rubygems