mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-28 19:51:57 -04:00
we don't need to manually trigger javascript events anymore
This commit is contained in:
@@ -4,8 +4,9 @@ module FeatureHelpers
|
||||
|
||||
fill_in field, with: options[:with]
|
||||
|
||||
page.execute_script " $('##{field}').trigger('focus'); "
|
||||
page.execute_script " $('##{field}').trigger('keydown'); "
|
||||
# Not needed if using a real browser headless instead of poltergeist
|
||||
# page.execute_script " $('##{field}').trigger('focus'); "
|
||||
# page.execute_script " $('##{field}').trigger('keydown'); "
|
||||
end
|
||||
|
||||
def select_from_autocomplete(select)
|
||||
|
||||
Reference in New Issue
Block a user