Change from .click -> .trigger('click') to make spec pass
This commit is contained in:
parent
c3c465ace0
commit
6c94483890
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue