Sha256: 7f3380c31b065204380aeed5fca12f26f5393c46b7ec372cd28d7d1f51f57d69

Contents?: true

Size: 1.05 KB

Versions: 19

Compression:

Stored size: 1.05 KB

Contents

load_script! 'common/features'

add_step! (RubyApp::Element::Event)                       { |event| event.assert_exists_link('Language') }
add_step! (RubyApp::Element::AssertedEvent)               { |event| event.click_link('Language') }
add_step! (RubyApp::Elements::Mobile::Page::ShownEvent)   { |event| event.go("#{RubyApp::Application.root_or_nil}/en") }
add_step! (RubyApp::Elements::Mobile::Page::LoadedEvent)  { |event| event.assert_exists_link('Back') }
add_step! (RubyApp::Element::AssertedEvent)               { |event| event.go("#{RubyApp::Application.root_or_nil}/fr") }
add_step! (RubyApp::Elements::Mobile::Page::LoadedEvent)  { |event| event.assert_exists_link('Reculer') }
add_step! (RubyApp::Element::AssertedEvent)               { |event| event.go(RubyApp::Application.root) }
add_step! (RubyApp::Elements::Mobile::Page::LoadedEvent)  { |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

19 entries across 19 versions & 1 rubygems

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