lib/ruby_app/scripts/default.rb in RubyApp-0.5.38 vs lib/ruby_app/scripts/default.rb in RubyApp-0.5.39
- old
+ new
@@ -2 +1,2 @@
-add_step! (RubyApp::Elements::Mobile::Page::LoadedEvent) { |event| event.assert_exists_link('Features') }
+add_step! (RubyApp::Elements::Mobile::Page::LoadedEvent) { |event| event.execute { RubyApp::Log.info("STEP Running steps in #{__FILE__}")} }
+add_step! (RubyApp::Element::ExecutedEvent) { |event| event.assert_exists_link('Features') }
add_step! (RubyApp::Element::AssertedEvent) { |event| event.assert_exists_link('Information') }