summaryrefslogtreecommitdiff
path: root/features/search.feature
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-27 11:55:42 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-27 11:55:42 +0300
commit13f6dc1a9476ef2c86538ede8420e915eb999a1c (patch)
tree9a27afd9dfb922b3ee2e3c1258d4034f3e452088 /features/search.feature
parentc3ad51a0e492108825093e12d441cca90d597a19 (diff)
downloadgitlab-ce-13f6dc1a9476ef2c86538ede8420e915eb999a1c.tar.gz
Save search options when switch between filter
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/search.feature')
-rw-r--r--features/search.feature21
1 files changed, 19 insertions, 2 deletions
diff --git a/features/search.feature b/features/search.feature
index b174d973122..54708c17575 100644
--- a/features/search.feature
+++ b/features/search.feature
@@ -24,6 +24,23 @@ Feature: Search
And I should not see "Bar" link
Scenario: I should see project code I am looking for
- When I search for "rspec"
- And I click project "Shop" link
+ When I click project "Shop" link
+ And I search for "rspec"
Then I should see code results for project "Shop"
+
+ Scenario: I should see project issues
+ And project has issues
+ When I click project "Shop" link
+ And I search for "Foo"
+ And I click "Issues" link
+ Then I should see "Foo" link
+ And I should not see "Bar" link
+
+ Scenario: I should see project merge requests
+ And project has merge requests
+ When I click project "Shop" link
+ And I search for "Foo"
+ And I click "Merge requests" link
+ Then I should see "Foo" link
+ And I should not see "Bar" link
+