Skip to content

Instantly share code, notes, and snippets.

@aledalgrande
Created May 20, 2012 13:23
Show Gist options
  • Save aledalgrande/2758115 to your computer and use it in GitHub Desktop.
Save aledalgrande/2758115 to your computer and use it in GitHub Desktop.
Gene Runner user stories created at #openlabs for challenge 2
MIT license
MOBILE APP
Feature: First play
As a first time user
I want to learn about the game
So that I can start playing
Scenario: Load/home screen
Given I downloaded the app
When I open it
Then I should be able to see the logo
And I should be able to see a strapline
And I should be able to see the Cancer Research brand
Scenario: Intro screen
Given I opened the app
When it finishes loading
Then I should see the intro slides
And I should see the "Skip" button
And I should see the "Register" button
And I should see the "Login" button
Scenario: Skip intro
Given I am on the intro screen
When I tap on the "Skip" button
Then I should see the game screen
Scenario: Registration
Given I am on the intro screen
When I tap on "Register" button
Then I should see the registration screen
And I should be able to register with my Facebook profile
And I should be able to register with my Twitter profile
And I should be able to register with my profile from some email providers (Gmail, YMail)
And I should be able to register with email address and password
Feature: Game mechanics
As a user
I want to play a simple and addictive game
So that I'm encouraged to play more and more while I help with cancer research
Scenario: Run start
Given I am on the game screen
When I look at it
Then I should see a part of the gene data as a scatter plot
And I should see an initial dummy area at the beginning
And I should see a man/woman runner in the corner
Scenario: Running
Given I am on the game screen
When I swipe to the left
Then the scatter plot should scroll to the right
And the max scrolling speed should be limited
And the running man/woman should sprint
And the flag button should not be visible
Scenario: Selection
Given I am on the game screen
When I tap and drag
Then I should see a selected area
And I should see the drag buttons
And I should see the "Flag" button
Scenario: Flagging
Given I am on the game screen
And I selected an area
When I tap on the "Flag" button
Then I should see a flagged area
And I should not be able to see the flag button
And the selection data should be stored locally
Scenario: Run finished
Given I am on the game screen
When I swipe through the final part of a segment
Then I should be able to see a dummy area
And I should not be able to select the dummy area
And I should see the "Next" button
And I should see the "Exit" button
Scenario: Another run
Given I finished a segment
When I tap on the "Next" button
Then I should see the beginning of a new segment in the game screen
Scenario: Stop running
Given I finished a segment
When I tap on the "Exit" button
Then I should see the dashboard screen
Feature: Summary
As a logged in user
I want to see statistics on the past activity
So I can track personal and global progress
Scenario: Login
Given I previously registered
And I am in the intro screen
When I click on the "Login" button
Then I should see the login screen
And I should be able to login with Facebook
And I should be able to login with Twitter
And I should be able to login with my profile from some email providers (Gmail, YMail)
And I should be able to login with email address and password
Scenario: Dashboard after login
Given I am in the login screen
When I login
Then I should see the dashboard screen
Scenario: Dashboard from the game screen
Given I am in the game screen
When I tap on the dashboard button
Then I should see a confirmation popup asking me if I really want to leave the game
Scenario: Confirm and go to the dashboard
Given I am in the game screen
And I tapped on the dashboard button
When I tap on the "OK" button
Then I should see the dashboard screen
Feature: Community
As a logged in user
I want to connect to my friends
So that I can create a community or become part of one
Scenario: Search for friends
Given I am on the dashboard screen
When I tap on one of the social network icons
Then I should be able to add friends from that social network
Scenario: Add friend
Given I am on the dashboard screen
And I tapped on one of the social network icons
When I tap on the "Plus button" next to a friend's name
Then that friend should receive an invite
Scenario: Friend joins
Given a friend was invited by me
When he joins
Then he should be added to my team
Feature: Additional information
As a user
I want to have access to additional scientific information
So that I can learn more about the genes I'm playing with
Scenario: Want to know more
Given I am on the game screen
When I tap on the "Question mark" button
Then I should see a wiki about cancer
And I should see the dashboard button
WEB APP
Feature: First play
As a first time user
I want to learn about the game
So that I can start playing
Scenario: Home page
Given I pointed the browser to the website
When it finishes loading
Then I should see the intro slides
And I should see the "Skip" button
And I should see the "Login with Facebook" button
And I should see the "Login with Twitter" button
And I should see the "Login with email" button
And I should see the Cancer Research logo
Scenario: Intro
Given I am on the homepage
When I press the left or right arrow keys
Then I should navigate through the slides of the intro
Scenario: Skip intro
Given I am on the home page
When I click on "Skip" button
Then I should see the game tab on the main page
Scenario: Registration and login with email
Given I am on the login with email page
And I didn't register yet
When I submit my email address and password
Then I should get registered
And I should be logged in
And I should see the game tab on the main page
Scenario: Registration and login with the other options
Given I am on the home page
And I didn't register yet
When I click on the button:
| type |
| Facebook login |
| Twitter login |
Then I should get registered with the details of my account on:
| type |
| Facebook |
| Twitter |
And I should be logged in
And I should see the game tab on the main page
Feature: Game mechanics
As a user
I want to play a simple and addictive game
So that I'm encouraged to play more and more while I help with cancer research
Scenario: Run start
Given I am on the game tab on the main page
When I look at it
Then I should see a part of the gene data as a scatter plot
And I should see an initial dummy area at the beginning
And I should see a man/woman runner in the corner
And I should see the "Running Mode" button
And I should see the "Selection Mode" button
And I should be in running mode
Scenario: Running
Given I am on the game tab on the main page
When I click and drag to the left
Then the scatter plot should scroll to the right
And the max scrolling speed should be limited
And the running man/woman should sprint
And the flag button should not be visible
Scenario: Selection
Given I am on the game tab on the main page
And I am on selection mode
When I click and drag
Then I should see a selected area
And I should see the drag buttons
And I should see the "Flag" button
Scenario: Flagging
Given I am on the game tab on the main page
And I selected an area
When I click on the "Flag" button
Then I should see a flagged area
And I should not be able to see the flag button
And the selection data should be stored locally
Scenario: Run finished
Given I am on the game tab on the main page
When I click and drag through the final part of a segment
Then I should be able to see a dummy area
And I should not be able to select the dummy area
And I should see the "Next" button
And I should see the "Exit" button
Scenario: Another run
Given I finished a segment
When I tap on the "Next" button
Then I should see the beginning of a new segment in the game screen
Scenario: Stop running
Given I finished a segment
When I tap on the "Exit" button
Then I should see the dashboard screen
Feature: Summary
As a logged in user
I want to see statistics on the past activity
So I can track personal, friend, team and global progress
Scenario: Dashboard
Given I am on the main page
When I click on the dashboard button
Then I should see the dashboard tab
And I should see my activity stats at the top
And I should see my friend activity feed
And I should see the global activity stats on the right
And I should see the "Invite Friends" button
And I should see the "Team View" button
Feature: Community
As a logged in user
I want to connect to my friends
So that I can create a personal community or become part of one
Scenario: Search for and add friends
Given I am on the dashboard tab on the main page
When I click on the "Invite Friends" button
Then I should see the find friends page
And I should be able to find and add friends from Facebook
And I should be able to find and add friends from Twitter
And I should be able to find and add friends from Gmail
And I should be able to find and add friends from YMail
Feature: Additional information
As a user
I want to have access to additional scientific information
So that I can learn more about cancer
Scenario: Want to know more
Given I am on the game tab on the main page
When I click on the "Question mark" button
Then I should see a wiki about cancer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment