Sha256: 9817954f66fd439e25a3942550a07884843e18e458731dc1f829ed42a5bd8c59

Contents?: true

Size: 1.1 KB

Versions: 14

Compression:

Stored size: 1.1 KB

Contents

load_script! 'common/features'

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.assert_exists_link('Calendars')
  event.tap_link('Calendars')
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.assert_exists_link('Month')
  event.tap_link('Month')
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.assert_exists_link(Date.today.day == 15 ? 14 : 15)
  event.tap_link(Date.today.day == 15 ? 14 : 15)
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.assert_exists_text("You selected day #{Date.today.day == 15 ? 14 : 15}.")
  event.assert_exists_link('OK')
  event.tap_link('OK')
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.assert_exists_text(Date.today.day == 15 ? 14 : 15)
  event.tap_link('Back')
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.tap_link('Back')
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.tap_link('Back')
end

add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
  event.refresh_browser
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
RubyApp-0.5.44 lib/ruby_app/scripts/elements/calendars/month.rb
RubyApp-0.5.43 lib/ruby_app/scripts/elements/calendars/month.rb
RubyApp-0.5.42 lib/ruby_app/scripts/elements/calendars/month.rb
RubyApp-0.5.41 lib/ruby_app/scripts/elements/calendars/month.rb
RubyApp-0.5.40 lib/ruby_app/scripts/elements/calendars/month.rb
RubyApp-0.5.39 lib/ruby_app/scripts/elements/calendars/month.rb
RubyApp-0.5.38 lib/ruby_app/scripts/elements/calendars/month.rb
RubyApp-0.5.37 lib/ruby_app/scripts/elements/calendars/month.rb
RubyApp-0.5.36 lib/ruby_app/scripts/elements/calendars/month.rb
RubyApp-0.5.35 lib/ruby_app/scripts/elements/calendars/month.rb
RubyApp-0.5.34 lib/ruby_app/scripts/elements/calendars/month.rb
RubyApp-0.5.33 lib/ruby_app/scripts/elements/calendars/month.rb
RubyApp-0.5.32 lib/ruby_app/scripts/elements/calendars/month.rb
RubyApp-0.5.31 lib/ruby_app/scripts/elements/calendars/month.rb