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-2.0.5 features/step_definitions/scroll_view_steps.rb
briar-2.0.4 features/step_definitions/scroll_view_steps.rb
briar-2.0.3 features/step_definitions/scroll_view_steps.rb
briar-2.0.2 features/step_definitions/scroll_view_steps.rb
briar-2.0.1 features/step_definitions/scroll_view_steps.rb
briar-2.0.0 features/step_definitions/scroll_view_steps.rb
briar-1.4.2 features/step_definitions/scroll_view_steps.rb
briar-1.4.1 features/step_definitions/scroll_view_steps.rb
briar-1.3.2 features/step_definitions/scroll_view_steps.rb
briar-1.3.1 features/step_definitions/scroll_view_steps.rb
briar-1.3.0 features/step_definitions/scroll_view_steps.rb
briar-1.2.2 features/step_definitions/scroll_view_steps.rb
briar-1.2.1 features/step_definitions/scroll_view_steps.rb
briar-1.2.0 features/step_definitions/scroll_view_steps.rb
briar-1.1.9 features/step_definitions/scroll_view_steps.rb
briar-1.1.8 features/step_definitions/scroll_view_steps.rb
briar-1.1.7 features/step_definitions/scroll_view_steps.rb
briar-1.1.6 features/step_definitions/scroll_view_steps.rb
briar-1.1.5 features/step_definitions/scroll_view_steps.rb
briar-1.1.4 features/step_definitions/scroll_view_steps.rb