Commit 6c944838 authored by Robert Speicher's avatar Robert Speicher

Change from .click -> .trigger('click') to make spec pass

parent c3c465ac
...@@ -8,7 +8,7 @@ feature 'Projected Branches', feature: true, js: true do ...@@ -8,7 +8,7 @@ feature 'Projected Branches', feature: true, js: true do
before { login_as(user) } before { login_as(user) }
def set_protected_branch_name(branch_name) def set_protected_branch_name(branch_name)
find(".js-protected-branch-select").click find(".js-protected-branch-select").trigger('click')
find(".dropdown-input-field").set(branch_name) find(".dropdown-input-field").set(branch_name)
click_on("Create wildcard #{branch_name}") click_on("Create wildcard #{branch_name}")
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment