Sha256: 1caddb90f0302f0326de16e468d3a3981a6371e8b0332473fa2f7d46f2762539

Contents?: true

Size: 920 Bytes

Versions: 14

Compression:

Stored size: 920 Bytes

Contents

load_script! 'common/features'

add_step! (RubyApp::Elements::Mobile::Page::ShownEvent) { |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.refresh_browser }

Version data entries

14 entries across 14 versions & 1 rubygems

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