Skip to content

Use .trigger(‘click’) instead of .click

Alfredo Sumaran requested to merge as-fix-spec-master into master

Attempt to fix transient failures in master

ref: https://gitlab.com/gitlab-org/gitlab-ce/pipelines/8208919

Note: This MR probably will not fully pass since there's still this error happening

  1) Multiple issue updating from issues#index status sets to open
     Failure/Error: return true if page.evaluate_script('typeof jQuery === "undefined"')

     Capybara::Poltergeist::JavascriptError:
       One or more errors were raised in the Javascript code on the page. If you don't care about these errors, you can ignore them by setting js_errors: false in your Poltergeist configuration (see documentation for details).

       ReferenceError: Can't find variable: UsersSelect
       ReferenceError: Can't find variable: UsersSelect
           at http://127.0.0.1:36249/namespace228/gitlabhq/issues?state=closed:600 in global 

Which hopefully will be finally fixed in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11286 So Make sure you merge !11286 (merged) before merging this!.

Merge request reports

Loading