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
# For this one, if Joe is already an LLTC, so should he be able to be identified as
# one again?
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'