search.feature 564 B

12345678910111213141516
  1. Feature: Search
  2. In order to see a word definition
  3. As a website user
  4. I need to be able to search for a word
  5. Scenario: Searching for a page that does exist
  6. Given I am on "/wiki/Main_Page"
  7. When I fill in "search" with "Behavior Driven Development"
  8. And I press "searchButton"
  9. Then I should see "agile software development"
  10. Scenario: Searching for a page that does NOT exist
  11. Given I am on "/wiki/Main_Page"
  12. When I fill in "search" with "Glory Driven Development"
  13. And I press "searchButton"
  14. Then I should see "Search results"