Sha256: 2e96cc8b675f1a8f685aa30def1dd4767b000a807e1efd56499ab13e41db96c6
Contents?: true
Size: 398 Bytes
Versions: 1
Compression:
Stored size: 398 Bytes
Contents
Then /^I select "([^\"]*)" from "([^\"]*)"$/ do |item_text, spinner_identifier| spinner = query("android.widget.Spinner marked:'#{spinner_identifier}'") if spinner.empty? tap_when_element_exists("android.widget.Spinner * marked:'#{spinner_identifier}'") else touch(spinner) end tap_when_element_exists("android.widget.PopupWindow$PopupViewContainer * marked:'#{item_text}'") end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
calabash-android-0.5.0.pre1 | lib/calabash-android/steps/spinner_steps.rb |