-
Notifications
You must be signed in to change notification settings - Fork 0
Cucumber Stories
Feature: Password reset
As a volunteer, in order to always have access to my account, I would like to be able to reset my password.
Background: user has created username and password and security questions
| username | password | Question_1 | Answer_1 | Question_2 | Answer_2 |
| DK_tracking | dkdk15 | What is my name? | DK | What are you doing? | Tracking |
And I am on Reset Password Page
Scenario: change password with security questions
Given I filled in the information on the page
And I submit
Then I should see a page about success in resetting my password
Scenario: login with new password
Given I am on the login page
And I fill in my username and password
And I follow 'login'
Then I should be on the volunteer user page
Feature: Add user
As a volunteer organizer, in order to manage my volunteers, I would like to be able to add a volunteer's information
Scenario: add a user to be a volunteer
Given I am on the Volunteer management page
When I click on the 'add' button
And I fill in the user information
And I click on the 'submit' button
Then I should see the user in my database
And I should see the user on my Volunteering management page
Feature: Admin site template
As an administrator, in order to manage the surveys, I would like to navigate to administration pages
Scenario: see admin options
Given I am logged in as an admin
Then I should see a link to the "Edit forms" page
And I should see a link to the "Edit users" page
And I should see a link to the "Survey statistics" page
Feature: Choosing form
As a volunteer, in order to choose a form, I want to see a list of all forms.
When I am on the page to choose a form
Then I should see list of forms
And I can click on one of the forms
Then I am on the page to fill in the form we choose
Feature: Make a new form template
As a volunteer organizer, in order to make surveys, I want to be able to customize the questions on the survey
Given I am the admin
And I am on the page of all existing forms
Then I can click one of the forms
Then I can edit the form I choose
Then I can save the updated form
Then we should be at the page of all existing forms
Then we should see the updated form in the list