Sha256: 059eeef23da26545b209f6309f2c6d509dbb85969dc388acc31b15fe6163c6a6

Contents?: true

Size: 1.75 KB

Versions: 13

Compression:

Stored size: 1.75 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_list_item('Item 01')
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.assert_exists_text('You clicked the item 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 01')
  event.tap_list_link('Item 01')
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.assert_exists_text('You clicked the link 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_list_item('Item 11')
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.assert_exists_text('You clicked the item 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_list_link('Item 11')
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.assert_exists_text('You clicked the link 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

13 entries across 13 versions & 1 rubygems

Version Path
RubyApp-0.5.37 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.36 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.35 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.34 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.33 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.32 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.31 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.30 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.29 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.28 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.23 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.18 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.17 lib/ruby_app/scripts/elements/lists.rb