Sha256: 7ba04d074dfe5e8be0cc698fe7729c561b239e6e25eac944b79e132526b106d4

Contents?: true

Size: 909 Bytes

Versions: 101

Compression:

Stored size: 909 Bytes

Contents

load_script! 'common/features'

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

add_step! (RubyApp::Elements::Mobile::Page::ShownEvent) { |event| event.assert_exists_text('Swipe left or right.') }
add_step! (RubyApp::Element::AssertedEvent)             { |event| event.swipe(:left) }

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

101 entries across 101 versions & 1 rubygems

Version Path
RubyApp-0.7.16 lib/ruby_app/scripts/features/swipe.rb
RubyApp-0.7.15 lib/ruby_app/scripts/features/swipe.rb
RubyApp-0.7.14 lib/ruby_app/scripts/features/swipe.rb
RubyApp-0.7.13 lib/ruby_app/scripts/features/swipe.rb
RubyApp-0.7.12 lib/ruby_app/scripts/features/swipe.rb
RubyApp-0.7.11 lib/ruby_app/scripts/features/swipe.rb
RubyApp-0.7.10 lib/ruby_app/scripts/features/swipe.rb
RubyApp-0.7.9 lib/ruby_app/scripts/features/swipe.rb
RubyApp-0.7.5 lib/ruby_app/scripts/features/swipe.rb
RubyApp-0.7.4 lib/ruby_app/scripts/features/swipe.rb
RubyApp-0.7.3 lib/ruby_app/scripts/features/swipe.rb
RubyApp-0.7.2 lib/ruby_app/scripts/features/swipe.rb
RubyApp-0.7.1 lib/ruby_app/scripts/features/swipe.rb
RubyApp-0.7.0 lib/ruby_app/scripts/features/swipe.rb
RubyApp-0.6.71 lib/ruby_app/scripts/features/swipe.rb
RubyApp-0.6.70 lib/ruby_app/scripts/elements/swipe.rb
RubyApp-0.6.69 lib/ruby_app/scripts/elements/swipe.rb
RubyApp-0.6.68 lib/ruby_app/scripts/elements/swipe.rb
RubyApp-0.6.67 lib/ruby_app/scripts/elements/swipe.rb
RubyApp-0.6.66 lib/ruby_app/scripts/elements/swipe.rb