Sha256: 44f0983c8038699b40e1d75da6e2aa13ea63bfee79f660654b1a9f2b0b98bb1c

Contents?: true

Size: 907 Bytes

Versions: 45

Compression:

Stored size: 907 Bytes

Contents

load_script! 'common/features'

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

add_step! (RubyApp::Elements::Mobile::Page::ShownEvent) { |event| event.assert_exists_link('Button') }
add_step! (RubyApp::Element::AssertedEvent)             { |event| event.click_link('Button') }

add_step! (RubyApp::Elements::Mobile::Page::ShownEvent) { |event| event.assert_exists_text('You are on this page.') }

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.click_link('Back') }
add_step! (RubyApp::Elements::Mobile::Page::ShownEvent) { |event| event.execute {} }

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
RubyApp-0.5.63 lib/ruby_app/scripts/elements/buttons.rb
RubyApp-0.5.62 lib/ruby_app/scripts/elements/buttons.rb
RubyApp-0.5.61 lib/ruby_app/scripts/elements/buttons.rb
RubyApp-0.5.60 lib/ruby_app/scripts/elements/buttons.rb
RubyApp-0.5.59 lib/ruby_app/scripts/elements/buttons.rb