summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-06-09 14:27:29 -0500
committerDouwe Maan <douwe@selenight.nl>2017-06-09 14:27:29 -0500
commitce4fe4dc76bfa55b44cb61c6eb0b2dee3a776850 (patch)
treee25a0ed104f78ca68fe4da1029beb5b86c6d4494 /features
parent34dcfae994e23b7a65f2245817757e29f3f3e795 (diff)
parentb38c74d696a8592878d92f8d40c8c3e1b42678b1 (diff)
downloadgitlab-ce-ce4fe4dc76bfa55b44cb61c6eb0b2dee3a776850.tar.gz
Merge branch 'dm-revert-mr-8427'
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/source/browse_files.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/features/steps/project/source/browse_files.rb b/features/steps/project/source/browse_files.rb
index d099d7af167..80aa3a047a0 100644
--- a/features/steps/project/source/browse_files.rb
+++ b/features/steps/project/source/browse_files.rb
@@ -89,10 +89,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
end
step 'I fill the new branch name' do
- first('button.js-target-branch', visible: true).click
- find('.create-new-branch', visible: true).click
- find('#new_branch_name', visible: true).set('new_branch_name')
- find('.js-new-branch-btn', visible: true).click
+ fill_in :branch_name, with: 'new_branch_name', visible: true
end
step 'I fill the new file name with an illegal name' do