Skip to content

Instantly share code, notes, and snippets.

@micahnyc
Created May 20, 2014 17:44
Show Gist options
  • Save micahnyc/14b84fd9b68cfb0aa8e2 to your computer and use it in GitHub Desktop.
Save micahnyc/14b84fd9b68cfb0aa8e2 to your computer and use it in GitHub Desktop.
example feature
Feature: Finding photos
In order to select photos to share
As a User
I want to see that the app found whiteboard photos
Scenario: Whiteboard photos were found
Given I am on the library screen
Then I should see "Whiteboards found:"
When I touch "scan"
Then I wait see a number of photos that were found
Then I should see a button labeled "show me"
Scenario: Whiteboard photos were not found
Given I am on the library screen
Then I should see "Whiteboards found:"
Then I should see "0"
Then I should see a button labeled "no whiteboards"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment