diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-10-12 17:08:00 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-10-12 17:08:00 -0500 |
commit | 64a51194c730e6b5bba5f0e3867ef505c3ba34f9 (patch) | |
tree | 4548fd9fe867d987c5b7e7f45a5648ff0475669b /features/steps | |
parent | 3ac444b8da3a570cf79c3f9532e6e2d60b4033bd (diff) | |
download | gitlab-ce-64a51194c730e6b5bba5f0e3867ef505c3ba34f9.tar.gz |
fix spinach test for branch validation
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/project/commits/branches.rb | 1 |
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 |