lib/calabash-cucumber/keyboard_helpers.rb in calabash-cucumber-0.9.119 vs lib/calabash-cucumber/keyboard_helpers.rb in calabash-cucumber-0.9.120
- old
+ new
@@ -32,9 +32,15 @@
screenshot_and_raise msg
else
raise msg
end
end
+ if ENV['POST_ENTER_KEYBOARD']
+ w = ENV['POST_ENTER_KEYBOARD'].to_f
+ if w > 0
+ sleep(w)
+ end
+ end
res['results']
end
def done
keyboard_enter_char "Return"