From 64a51194c730e6b5bba5f0e3867ef505c3ba34f9 Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Thu, 12 Oct 2017 17:08:00 -0500 Subject: fix spinach test for branch validation --- features/steps/project/commits/branches.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'features') 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 -- cgit v1.2.1