diff options
-rw-r--r-- | features/steps/project/commits/branches.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/features/steps/project/commits/branches.rb b/features/steps/project/commits/branches.rb index 93f5e291aff..6d019a38fe1 100644 --- a/features/steps/project/commits/branches.rb +++ b/features/steps/project/commits/branches.rb @@ -79,11 +79,7 @@ class Spinach::Features::ProjectCommitsBranches < Spinach::FeatureSteps end def select_branch(branch_name) - within('#new-branch-form') do - find('.dropdown').click - end - - click_button 'master' + find('.git-revision-dropdown-toggle').click page.within '#new-branch-form .dropdown-menu' do click_link branch_name |