Skip to content

Instantly share code, notes, and snippets.

@pipmossop
Created November 28, 2012 15:11
Show Gist options
  • Save pipmossop/4161871 to your computer and use it in GitHub Desktop.
Save pipmossop/4161871 to your computer and use it in GitHub Desktop.
first feature
Feature: Join a local community
In order that I can easily limit the items I buy and sell
As a user
I want to be able to join a local trading community
Background:  
Given I have installed the Retrade app
And I am on the join a community form
Scenario: allow access to browser location
Given I allow the browser to access my location
Then I should see the list of communities in the format Community | City | State | Country
And I should see how many of my friends has joined each community
Then I should be able join any community
Scenario: using Facebook profile location
Given I do not allow the browser to access my location data
And I have my location on my Facebook profile
Then I should see the list of communities in the format Community | City | State | Country
And I should see how many of my friends has joined each community
Then I should be able join any community
Scenario: manually searching for a community
Given I do not have my location on my Facebook profile
And I enter my location in the search box
Then I should see the list of communities in the format Community | City | State | Country
And I should see how many of my friends has joined each community
Then I should be able join any community
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment