Merge branch 'improve-test-specificity' into 'master'

Improve spinach test to be more specific about link to click

If you add another branch to gitlab-test that includes the word 'test', browse_files.feature will fail with an ambiguous match.

See merge request !5589
This commit is contained in:
Stan Hu 2016-08-01 06:10:51 +00:00
commit 740aef9c0f
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
first('.js-project-refs-dropdown').click
page.within '.project-refs-form' do
click_link 'test'
click_link "'test'"
end
end