summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-08-01 06:10:51 +0000
committerStan Hu <stanhu@gmail.com>2016-08-01 06:10:51 +0000
commit740aef9c0f44d34962f188d5e24b29e2c77db478 (patch)
treefd0a47ba8ae0a7a5496df1a4202a03245d7938d9
parentaa727434d7619956c43c2d72d2edd8a3bd61f535 (diff)
parent0fa50494b8f1c765f7c046e0648afec81c27dcd7 (diff)
downloadgitlab-ce-740aef9c0f44d34962f188d5e24b29e2c77db478.tar.gz
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
-rw-r--r--features/steps/project/source/browse_files.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/source/browse_files.rb b/features/steps/project/source/browse_files.rb
index 0fe046dcbf6..9a8896acb15 100644
--- a/features/steps/project/source/browse_files.rb
+++ b/features/steps/project/source/browse_files.rb
@@ -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