diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-03-01 16:29:16 +0100 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-03-01 16:29:16 +0100 |
commit | b4c842b321eff7358ac437ce7f8bf867d068f88f (patch) | |
tree | 2f0dbe71b8e0e314a1b791f54673f8c4f9efb592 /features/search.feature | |
parent | c9a8f2a03ec6510b5579cf51798b6f2bf870089b (diff) | |
download | gitlab-ce-b4c842b321eff7358ac437ce7f8bf867d068f88f.tar.gz |
Add CHANGELOG and testlogged-out-search
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/search.feature')
-rw-r--r-- | features/search.feature | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/features/search.feature b/features/search.feature index a9234c1a611..3cd52810e59 100644 --- a/features/search.feature +++ b/features/search.feature @@ -65,3 +65,25 @@ Feature: Search And I search for "Wiki content" And I click "Wiki" link Then I should see "test_wiki" link in the search results + + Scenario: I logout and should see project I am looking for + Given project "Shop" is public + And I logout + And I search for "Sho" + Then I should see "Shop" project link + + Scenario: I logout and should see issues I am looking for + Given project "Shop" is public + And I logout + And project has issues + When I search for "Foo" + And I click "Issues" link + Then I should see "Foo" link in the search results + And I should not see "Bar" link in the search results + + Scenario: I logout and should see project code I am looking for + Given project "Shop" is public + And I logout + When I visit project "Shop" page + And I search for "rspec" on project page + Then I should see code results for project "Shop" |