Commit 6a762b10 authored by Robert Speicher's avatar Robert Speicher Committed by Ruben Davila

Merge branch 'fix-spinach-branches-spec' into 'master'

Fix Spinach branches spec

I broke master by adding a branch to gitlab-test for, which put the branch in this scenario off the first page 😆 

See merge request !5964
parent 55a30d42
......@@ -22,6 +22,7 @@ Feature: Project Commits Branches
Scenario: I delete a branch
Given I visit project branches page
And I filter for branch improve/awesome
And I click branch 'improve/awesome' delete link
Then I should not see branch 'improve/awesome'
......@@ -73,6 +73,11 @@ class Spinach::Features::ProjectCommitsBranches < Spinach::FeatureSteps
expect(page).to have_content 'Branch already exists'
step 'I filter for branch improve/awesome' do
fill_in 'branch-search', with: 'improve/awesome'
step "I click branch 'improve/awesome' delete link" do
page.within '.js-branch-improve\/awesome' do
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment