Ready to merge
This commit is contained in:
@@ -0,0 +1,133 @@
|
||||
Feature: Registration Page
|
||||
In order to register for Bike!Bike!
|
||||
As a visitor
|
||||
|
||||
Scenario: Start registration from landing page
|
||||
Given There is an upcoming conference in Halifax NS
|
||||
And Registration is open
|
||||
And I am on the landing page
|
||||
|
||||
Then I see the Bike!Bike! logo
|
||||
And I see a Register link
|
||||
And I click on the Register link
|
||||
And I fill in email with myemail@bikebike.org
|
||||
And press register
|
||||
|
||||
Then I should get a Confirmation email
|
||||
And that email should contain /confirm/
|
||||
And I confirm my account
|
||||
|
||||
Then I should see Agreement
|
||||
And I press policy
|
||||
|
||||
Then I should see name
|
||||
And I should see Where are you coming from
|
||||
And I should see Arrival
|
||||
And I should see Departure
|
||||
And I fill in name with John Doe
|
||||
And fill in location with Mushaboom, NS
|
||||
And enter 2016-01-01 as my arrival
|
||||
And enter 2016-01-04 as my departure
|
||||
And select en as my language
|
||||
And select none as my housing
|
||||
And select a small bike
|
||||
And choose vegan food
|
||||
And press save
|
||||
|
||||
Then I should see Payment
|
||||
And I should be registered for the conference
|
||||
|
||||
Then I pay 50.0
|
||||
And I finish with paypal
|
||||
|
||||
Then I should see confirm
|
||||
And I should see 50.00
|
||||
Then press paypal confirmed
|
||||
|
||||
Then I should see John Doe
|
||||
And I should see Mushaboom, NS
|
||||
And I should see January
|
||||
And I should see English
|
||||
And I should see none
|
||||
And I should see Vegan
|
||||
And I should see 50.00
|
||||
|
||||
Scenario: View stats
|
||||
Given There is an upcoming conference in Anchorage AK
|
||||
And Registration is open
|
||||
And I am logged in as someguy@bikebike.org
|
||||
And My name is Jeff
|
||||
And I am a conference host
|
||||
And I am registered for the conference
|
||||
And I am on the stats page
|
||||
|
||||
Then I should see Total Registrations
|
||||
|
||||
Scenario: Create workshop
|
||||
Given There is an upcoming conference in San Marcos TX
|
||||
And Registration is open
|
||||
And I am logged in as somebody@bikebike.org
|
||||
And My name is John Doe
|
||||
And I am registered for the conference
|
||||
And I am on the registration page
|
||||
|
||||
Then I see the Bike!Bike! logo
|
||||
And I see Payment
|
||||
And I see Workshops
|
||||
And I visit the workshops page
|
||||
|
||||
Then I should see New Workshop
|
||||
And I should see Your Workshops
|
||||
And I click on New Workshop link
|
||||
|
||||
Then I should see Title
|
||||
And I fill in title with My Workshop Title
|
||||
And I fill in info with Lorem Ipsum
|
||||
And I save the workshop
|
||||
|
||||
Then I should see My Workshop Title
|
||||
And I view my workshop
|
||||
|
||||
Then I should see Facilitators
|
||||
And I should see John Doe creator
|
||||
And I should see Edit
|
||||
Then I edit the workshop
|
||||
|
||||
Then I fill in title with Super Awesome Workshop
|
||||
Then I click the save button
|
||||
|
||||
Then I should see Super Awesome Workshop
|
||||
And I should not see My Workshop Title
|
||||
|
||||
Then I view my workshop
|
||||
Then I delete the workshop
|
||||
And I click on the confirm button
|
||||
|
||||
Then I should see Your Workshops
|
||||
And I should not see My Workshop Title
|
||||
And I should not see Super Awesome Workshop
|
||||
|
||||
Scenario: Broadcast message
|
||||
Given There is an upcoming conference in San Marcos TX
|
||||
And Registration is open
|
||||
And I am logged in as somebody@bikebike.org
|
||||
And My name is John Doe
|
||||
And I am a conference host
|
||||
And I am registered for the conference
|
||||
And I am on the broadcast page
|
||||
|
||||
Then I see the Bike!Bike! logo
|
||||
And I should see Subject
|
||||
And I fill in subject with My Subject
|
||||
And I fill in content with Lorem Ipsum
|
||||
And I press test
|
||||
|
||||
Then I should see somebody@bikebike.org
|
||||
|
||||
Then I press preview
|
||||
Then I should see Lorem Ipsum
|
||||
And I press send
|
||||
|
||||
Then I should see email has been sent
|
||||
And I should see Preview
|
||||
And I should see My Subject
|
||||
@@ -0,0 +1,15 @@
|
||||
Feature: Static Pages
|
||||
In order to learn about Bike!Bike!
|
||||
As a visitor
|
||||
|
||||
Scenario: Read the about page
|
||||
Given There is an upcoming conference in Halifax NS
|
||||
And I am on the about page
|
||||
|
||||
Scenario: Read the policy page
|
||||
Given There is an upcoming conference in Halifax NS
|
||||
And I am on the policy page
|
||||
|
||||
Scenario: See a 404 page
|
||||
Given There is an upcoming conference in Halifax NS
|
||||
And I am on a 404 error page
|
||||
Reference in New Issue
Block a user