Sha256: 6edb2263c43d07aaa4209408d777f96667e62e33d413cef1b81688ae48736c1b

Contents?: true

Size: 1.13 KB

Versions: 14

Compression:

Stored size: 1.13 KB

Contents

load_script! 'common/features'

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

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.assert_exists_link('Item 01')
  event.click_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.click_link('OK')
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.assert_exists_link('Item 01')
  event.click_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.click_link('OK')
end

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

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

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
RubyApp-0.5.58 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.57 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.56 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.55 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.54 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.53 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.52 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.51 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.50 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.49 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.48 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.47 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.46 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.5.45 lib/ruby_app/scripts/elements/lists.rb