Created
February 28, 2009 20:17
-
-
Save joevandyk/72093 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
Feature: Identifying local leadership training chairs | |
In order to identify local volunteers with increased capabilities | |
As a super-user | |
I want to be able to identify local leadership training chairs from each chapter | |
Background: | |
Given an application role "Local Leadership Training Chair" | |
Given a LLTC 'Joe' from 'Cincinnati' | |
Scenario: Admin viewing the LLTC page | |
Given an administrator 'Jane' | |
When Jane logs in | |
And Jane visits the home page | |
Then Jane should see a link to identify local leadership training chairs in the navigation | |
Scenario: Not logged in, loading the training chair identification page | |
When a random passerby loads the LLTC identification screen | |
Then they should be directed to login | |
Scenario: Logged in, regular user loading the training chair identification page | |
When Joe logs in | |
And Joe loads the LLTC identification screen | |
Then Joe should receive a message that he lacks authorization | |
Scenario: Admin can view the LLTC page | |
When Jane logs in | |
And Jane loads the LLTC identification screen | |
And Jane selects the 'Cincinnati' chapter | |
Then Jane should see a link to identify 'Joe' as the LLTC | |
Scenario: LLTC selection | |
Given Admin viewing the LLTC page | |
When Jane clicks the link to identify 'Joe' as the local leadership training chair | |
Then Joe should be a LLTC for Cincinnati | |
Scenario: LLT Co-chair identification | |
Given a volunteer 'Joanne' from 'Cincinnati' | |
And Jane loads the LTC identification screen | |
Then Jane should see a link to identify 'Joanne' as the local leadership training chair | |
And Jane should see a link to remove 'Joe' as the local leadership training chair | |
Scenario: LLT Co-chair selection | |
Given a volunteer 'Joanne' from 'Cincinnati' | |
And Jane loads the LTC identification screen | |
When Jane clicks the link to identify 'Joanne' as the LLTC | |
Then Joe should be a LLTC for 'Cincinnati' | |
And Joanne should be a LLTC for 'Cincinnati' | |
Scenario: LLT term ending | |
Given Jane loads the LTC identification screen | |
When Jane clicks the link to remove 'Joe' as the LLTC | |
Then Joe should not be a LLTC for 'Cincinnati' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment