Sha256: 880230d9ddadd0549461e57008207b91f75a8bfc29e9534eaf565b090d2b1ba8
Contents?: true
Size: 440 Bytes
Versions: 43
Compression:
Stored size: 440 Bytes
Contents
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
43 entries across 43 versions & 1 rubygems
Version | Path |
---|---|
briar-0.1.3.b3 | features/step_definitions/scroll_view_steps.rb |
briar-0.1.3.b2 | features/step_definitions/scroll_view_steps.rb |
briar-0.1.3.b1 | features/step_definitions/scroll_view_steps.rb |