Created
October 23, 2009 14:21
-
-
Save alexyoung/216932 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scenario Outline: searching | |
Given I am logged in as a stuff | |
And the following losses records: | |
| firstname | lastname | lost_at | bus_type | description | closed_at | | |
| Luke | Skywalker | 2009-01-23 | Nightrider | lightsaber | | | |
And the following findings: | |
| found_at | found_by | bus_type | description | picked_up_by | picked_up_at | loss_id | | |
| 2008-12-24 | Daniel | Nightrider | walkie-talkie | | | | | |
| 2009-05-24 | Joel | Flibco | silver ring with Diamond | Francois | 2009-02-03 | 1 | | |
And I am on the findings page | |
When I fill in "<field>" with "<search-keyword>" | |
And I press "search_submit" | |
Then I should see "<search-found>" | |
But I should not see "<search-missing>" | |
Examples: | |
| field | search-keyword | search-found | search-missing | | |
| Description | ring | silver ring with Diamond | walkie-talkie | | |
| Bus type | Nightrider | walkie-talkie | ring | | |
| Found by | Daniel | walkie-talkie | ring | | |
| Found at | 2009-05-24 | silver ring with Diamond | walkie-talkie | | |
| ID | 2 | silver ring with Diamond | walkie-talkie | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment