Contents

Search for strings on DuckDuckGo

Scenario: Search using a fixed string

@demo

  • When I open the homepage
  • And I search for "OpenCredo"
  • Then I should be on the search results for "OpenCredo"
  • And I should see search results for "OpenCredo"
  • And I should see a link to "http://www.opencredo.com/"

Scenario: Search for a randomised and saved query

@demo

  • Given the user "Person A" exists
  • When I open the homepage
  • And I search for user "Person A"
  • Then I should be on the search results for user "Person A"

Source: features/features/Search.feature at commit e39b430c, Ruby Acceptance Testing Quickstart (MIT license).