f0391c2517
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
9 lines
246 B
Ruby
9 lines
246 B
Ruby
# frozen_string_literal: true
|
|
|
|
# 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
|