lib/icuke/cucumber.rb in iCuke-0.5.3 vs lib/icuke/cucumber.rb in iCuke-0.5.4
- old
+ new
@@ -66,10 +66,10 @@
raise %Q{Element "#{label}" is off screen in: #{page}} unless onscreen?(x, y)
@simulator.fire_event(Tap.new(x, y, options))
- sleep(options[:pause] ? 1 : 0.2)
+ sleep(options[:pause] ? 2 : 0.2)
refresh
yield element if block_given?
end