Security update for permissions_by_term
[yaffs-website] / vendor / behat / mink-extension / features / search.feature
diff --git a/vendor/behat/mink-extension/features/search.feature b/vendor/behat/mink-extension/features/search.feature
new file mode 100644 (file)
index 0000000..b4e08ef
--- /dev/null
@@ -0,0 +1,16 @@
+Feature: Search
+  In order to see a word definition
+  As a website user
+  I need to be able to search for a word
+
+  Scenario: Searching for a page that does exist
+    Given I am on "/wiki/Main_Page"
+    When I fill in "search" with "Behavior Driven Development"
+    And I press "searchButton"
+    Then I should see "agile software development"
+
+  Scenario: Searching for a page that does NOT exist
+    Given I am on "/wiki/Main_Page"
+    When I fill in "search" with "Glory Driven Development"
+    And I press "searchButton"
+    Then I should see "Search results"