Welcome to mirror list, hosted at ThFree Co, Russian Federation.

js_patch.rb « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0d4ab264e858956c04146a28f001d670646362ad (plain)
1
2
3
4
5
6
module JsPatch
  def confirm_js_popup
    page.evaluate_script("window.alert = function(msg) { return true; }")
    page.evaluate_script("window.confirm = function(msg) { return true; }")
  end
end