Sha256: 5e9277a61e2622c764ce6dfd186910f48b8e61841a4482eeba3deebd7c28f78f

Contents?: true

Size: 1.08 KB

Versions: 10

Compression:

Stored size: 1.08 KB

Contents

load_script! 'common/features'

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.assert_exists_link('Lists')
  event.tap_link('Lists')
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.assert_exists_link('Item 01')
  event.tap_link('Item 01')
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.assert_exists_text('You clicked Item 01.')
  event.assert_exists_link('OK')
  event.tap_link('OK')
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.assert_exists_link('Item 11')
  event.tap_link('Item 11')
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.assert_exists_text('You clicked Item 11.')
  event.assert_exists_link('OK')
  event.tap_link('OK')
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.assert_exists_link('Item 11')
  event.tap_link('Back')
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.tap_link('Back')
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.refresh_browser
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
RubyApp-0.5.16 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.15 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.14 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.13 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.12 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.11 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.10 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.9 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.0 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.2.8 lib/ruby_app/scripts/elements/lists.rb