lib/ruby_app/scripts/elements/calendars/month.rb in RubyApp-0.5.58 vs lib/ruby_app/scripts/elements/calendars/month.rb in RubyApp-0.5.59
- old
+ new
@@ -1,8 +1,8 @@
load_script! 'common/features'
-add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
+add_step! RubyApp::Element::Event do |event|
event.assert_exists_link('Calendars')
event.click_link('Calendars')
end
add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
@@ -33,7 +33,7 @@
add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
event.click_link('Back')
end
add_step! RubyApp::Elements::Mobile::Page::ShownEvent do |event|
- event.refresh_browser
+ event.execute {}
end