Sha256: 3f6ee77dbb4c92296d84f280c0e7a510d8b75475d2d7b8a53e1430434cfb1e21

Contents?: true

Size: 852 Bytes

Versions: 8

Compression:

Stored size: 852 Bytes

Contents

load_script! 'common/features/authentications'

add_step! (RubyApp::Element::Event)                       { |event| event.go('/') }
add_step! (RubyApp::Elements::Mobile::Page::LoadedEvent)  { |event| event.assert_exists_link('Facebook') }
add_step! (RubyApp::Element::AssertedEvent)               { |event| event.click_link('Facebook') }
add_step! (RubyApp::Elements::Mobile::Page::LoadedEvent)  
add_step! (RubyApp::Elements::Mobile::Page::LoadedEvent)  
add_step! (RubyApp::Elements::Mobile::Page::LoadedEvent)  { |event| event.assert_exists_text('You are logged in as') }
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

8 entries across 8 versions & 1 rubygems

Version Path
RubyApp-0.6.60 lib/ruby_app/scripts/elements/authentications/facebook.rb
RubyApp-0.6.59 lib/ruby_app/scripts/elements/authentications/facebook.rb
RubyApp-0.6.58 lib/ruby_app/scripts/elements/authentications/facebook.rb
RubyApp-0.6.57 lib/ruby_app/scripts/elements/authentications/facebook.rb
RubyApp-0.6.53 lib/ruby_app/scripts/elements/authentications/facebook.rb
RubyApp-0.6.52 lib/ruby_app/scripts/elements/authentications/facebook.rb
RubyApp-0.6.51 lib/ruby_app/scripts/elements/authentications/facebook.rb
RubyApp-0.6.50 lib/ruby_app/scripts/elements/authentications/facebook.rb