diff options
author | Stan Hu <stanhu@gmail.com> | 2016-07-31 22:14:48 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-07-31 22:17:26 -0700 |
commit | 0fa50494b8f1c765f7c046e0648afec81c27dcd7 (patch) | |
tree | fd0a47ba8ae0a7a5496df1a4202a03245d7938d9 /features | |
parent | aa727434d7619956c43c2d72d2edd8a3bd61f535 (diff) | |
download | gitlab-ce-0fa50494b8f1c765f7c046e0648afec81c27dcd7.tar.gz |
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.
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/source/browse_files.rb | 2 |
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 |