Sha256: 0850ac7af4ff10cce8de3d2c8291daab5b8a6840e71e1f3296fc98a0ea5ec119
Contents?: true
Size: 665 Bytes
Versions: 7
Compression:
Stored size: 665 Bytes
Contents
#noinspection RubyUnusedLocalVariable Then /^I scroll (left|right|up|down) until I see "([^\"]*)" limit (\d+)$/ do |dir, marker, limit| pending "deprecated 0.0.6 - use Then I scroll #{dir} until I see \"#{marker}\"" end Then /^I scroll (left|right|up|down) until I see "([^\"]*)"$/ do |dir, marker| wait_poll({:until_exists => "view marked:'#{marker}'", :timeout => 2}) do scroll('scrollView index:0', dir) end unless exists? marker screenshot_and_raise "i scrolled '#{dir}' but did not see #{marker}" end end Then /^I scroll "([^"]*)" (left|right|up|down)"$/ do |name, dir| swipe(dir, {:query => "view marked:'#{name}'"}) end
Version data entries
7 entries across 7 versions & 1 rubygems