Commit 5bfaaaa3 authored by Douwe Maan's avatar Douwe Maan

Click form instead of body, because clicking body would actually click inside the dropdown again

parent a818d7bb
......@@ -72,13 +72,13 @@ feature 'Protected Branches', :js do
find(".js-allowed-to-merge").click
click_link 'No one'
end
find('body').click
find(form).click
within form do
find(".js-allowed-to-push").click
click_link 'Developers + Masters'
end
find('body').click
find(form).click
visit project_protected_branches_path(project)
......
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