Sha256: 5e39bd1aa2c2413b6b70223d109d8a26708eb910cbf0258ea3cf091a7285bcd0

Contents?: true

Size: 1.62 KB

Versions: 13

Compression:

Stored size: 1.62 KB

Contents

load_script! 'common/features'

add_step! (RubyApp::Element::Event)                     { |event| event.assert_exists_link('Lists') }
add_step! (RubyApp::Element::AssertedEvent)             { |event| event.click_link('Lists') }

add_step! (RubyApp::Elements::Mobile::Page::ShownEvent) { |event| event.assert_exists_link('Item 01') }
add_step! (RubyApp::Element::AssertedEvent)             { |event| event.click_list_item('Item 01') }

add_step! (RubyApp::Elements::Mobile::Page::ShownEvent) { |event| event.assert_exists_text('You clicked the item Item 01.') }
add_step! (RubyApp::Element::AssertedEvent)             { |event| event.assert_exists_link('OK') }
add_step! (RubyApp::Element::AssertedEvent)             { |event| event.click_link('OK') }

add_step! (RubyApp::Elements::Mobile::Page::ShownEvent) { |event| event.assert_exists_link('Item 01') }
add_step! (RubyApp::Element::AssertedEvent)             { |event| event.click_list_link('Item 01') }

add_step! (RubyApp::Elements::Mobile::Page::ShownEvent) { |event| event.assert_exists_text('You clicked the link Item 01.') }
add_step! (RubyApp::Element::AssertedEvent)             { |event| event.assert_exists_link('OK') }
add_step! (RubyApp::Element::AssertedEvent)             { |event| event.click_link('OK') }

add_step! (RubyApp::Elements::Mobile::Page::ShownEvent) { |event| event.assert_not_exists_link('Item 06') }
add_step! (RubyApp::Element::AssertedEvent)             { |event| event.click_link('Back') }

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

add_step! (RubyApp::Elements::Mobile::Page::ShownEvent) { |event| event.execute {} }

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
RubyApp-0.6.39 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.6.38 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.6.36 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.6.35 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.6.34 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.6.33 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.6.32 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.6.31 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.6.29 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.6.28 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.6.27 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.6.26 lib/ruby_app/scripts/elements/lists.rb
RubyApp-0.6.25 lib/ruby_app/scripts/elements/lists.rb