Skip to content

Instantly share code, notes, and snippets.

@chillu
Created November 15, 2013 13:48
Show Gist options
  • Save chillu/7484565 to your computer and use it in GitHub Desktop.
Save chillu/7484565 to your computer and use it in GitHub Desktop.
Blog example: Search feature
Scenario: I can search for a page by its newest last edited date
Given a "page" "Recent Page"
And a "page" "Old Page" was last edited "7 days ago"
When I fill in "To" with "the date of 5 days ago"
And I press the "Apply Filter" button
Then I should not see "Recent Page" in the tree
But I should see "Old Page" in the tree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment