summaryrefslogtreecommitdiff
path: root/features/steps
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2016-08-23 18:04:43 +0100
committerSean McGivern <sean@gitlab.com>2016-08-23 18:04:43 +0100
commit4a2351185cf0430f55b69f88750d4897d9cea9d4 (patch)
tree7fb85a9f4703e9bd4a351756a44b14177bb78c16 /features/steps
parentf2b36bfd147c63090c99145fa181a9ab83aa596f (diff)
downloadgitlab-ce-4a2351185cf0430f55b69f88750d4897d9cea9d4.tar.gz
Fix Spinach branches specfix-spinach-branches-spec
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/project/commits/branches.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/features/steps/project/commits/branches.rb b/features/steps/project/commits/branches.rb
index 4bfb7e92e99..5f9b9e0445e 100644
--- a/features/steps/project/commits/branches.rb
+++ b/features/steps/project/commits/branches.rb
@@ -73,6 +73,11 @@ class Spinach::Features::ProjectCommitsBranches < Spinach::FeatureSteps
expect(page).to have_content 'Branch already exists'
end
+ step 'I filter for branch improve/awesome' do
+ fill_in 'branch-search', with: 'improve/awesome'
+ find('#branch-search').native.send_keys(:enter)
+ end
+
step "I click branch 'improve/awesome' delete link" do
page.within '.js-branch-improve\/awesome' do
find('.btn-remove').click