023d4f6f2f
Signed-off-by: Rémy Coutable <remy@rymai.me>
7 lines
215 B
Ruby
7 lines
215 B
Ruby
# see app/assets/javascripts/test_utils/simulate_input.js
|
|
|
|
module InputHelper
|
|
def simulate_input(selector, input = '')
|
|
evaluate_script("window.simulateInput(#{selector.to_json}, #{input.to_json});")
|
|
end
|
|
end
|