From b38c74d696a8592878d92f8d40c8c3e1b42678b1 Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Thu, 8 Jun 2017 10:33:25 -0500 Subject: Revert 'New file from interface on existing branch' --- features/steps/project/source/browse_files.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'features/steps') 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 -- cgit v1.2.1