Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-03-13 19:56:33 +0300
committerSean McGivern <sean@mcgivern.me.uk>2017-03-13 19:56:33 +0300
commit1585608bdcf932b58d301a7943c01ea824ea524e (patch)
tree86dc4290cf711aa6f19ab7dc64d432c849cd004b /features
parent1d4b11f3388ddd7cf0076f95ac26196f6949dc0b (diff)
parente0fe2834ebe6d9678444c8a10b79ca093f944232 (diff)
Merge branch '24501-new-file-existing-branch' into 'master'
New file from interface on existing branch Closes #24501 See merge request !8427
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/source/browse_files.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/features/steps/project/source/browse_files.rb b/features/steps/project/source/browse_files.rb
index f18adcadcce..e84cd9193da 100644
--- a/features/steps/project/source/browse_files.rb
+++ b/features/steps/project/source/browse_files.rb
@@ -82,7 +82,10 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
end
step 'I fill the new branch name' do
- fill_in :target_branch, with: 'new_branch_name', visible: true
+ first('button.js-target-branch', visible: true).click
+ first('.create-new-branch', visible: true).click
+ first('#new_branch_name', visible: true).set('new_branch_name')
+ first('.js-new-branch-btn', visible: true).click
end
step 'I fill the new file name with an illegal name' do