BigW Consortium Gitlab

Commit 4ab7d2f9 by Stan Hu

Fix branch creation Spinach test by clicking on the dropdown

parent 55e5c84e
......@@ -79,6 +79,10 @@ class Spinach::Features::ProjectCommitsBranches < Spinach::FeatureSteps
end
def select_branch(branch_name)
within('#new-branch-form') do
find('.dropdown').click
end
click_button 'master'
page.within '#new-branch-form .dropdown-menu' do
......
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