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:
authorMike Greiling <mike@pixelcog.com>2017-10-13 01:08:00 +0300
committerMike Greiling <mike@pixelcog.com>2017-10-13 01:08:00 +0300
commit64a51194c730e6b5bba5f0e3867ef505c3ba34f9 (patch)
tree4548fd9fe867d987c5b7e7f45a5648ff0475669b /features
parent3ac444b8da3a570cf79c3f9532e6e2d60b4033bd (diff)
fix spinach test for branch validation
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/commits/branches.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/features/steps/project/commits/branches.rb b/features/steps/project/commits/branches.rb
index 6d019a38fe1..c3ae33d2aa9 100644
--- a/features/steps/project/commits/branches.rb
+++ b/features/steps/project/commits/branches.rb
@@ -40,6 +40,7 @@ class Spinach::Features::ProjectCommitsBranches < Spinach::FeatureSteps
step 'I submit new branch form with invalid name' do
fill_in 'branch_name', with: '1.0 stable'
+ page.find("body").click # defocus the branch_name input
select_branch('master')
click_button 'Create branch'
end