From 37e816c38c9c9475afcd8ba63aa622552b148bf0 Mon Sep 17 00:00:00 2001
From: Jesse Hofmann-Smith <jesse@opensourcery.com>
Date: Fri, 7 Nov 2014 12:40:23 -0800
Subject: [PATCH] test-search-2329387-2.patch

---
 .../panopoly_test/tests/features/search.feature    | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 modules/panopoly/panopoly_test/tests/features/search.feature

diff --git a/modules/panopoly/panopoly_test/tests/features/search.feature b/modules/panopoly/panopoly_test/tests/features/search.feature
new file mode 100644
index 0000000..59a1fd6
--- /dev/null
+++ b/modules/panopoly/panopoly_test/tests/features/search.feature
@@ -0,0 +1,26 @@
+Feature: Search
+  In order to find content on the site
+  As an anonymous user
+  I should be able to find content using the site search
+
+  Background:
+    Given I am on "/demo"
+
+  Scenario: Trying an empty search should yield a message
+    When I press "Search"
+    Then I should see "Search Results"
+      And I should see "Enter your keywords"
+
+  Scenario: Trying a search with no results
+    When I enter "stuff" for "Enter your keywords"
+      And I press "Search"
+    Then I should see "Search Results"
+      And I should see "0 items matched stuff"
+      And I should see "Your search did not return any results."
+
+  Scenario: Performing a search with results
+    When I enter "Vegetables" for "Enter your keywords"
+      And I press "Search"
+    Then I should see "Search Results"
+      And I should see "3 items matched Vegetables"
+      And I should see "Filter by Type"
-- 
1.9.3 (Apple Git-50)

