Workshop interest

This commit is contained in:
Godwin
2015-09-13 18:30:50 -07:00
parent a90c465160
commit a0fbbc9f4f
88 changed files with 2067 additions and 819 deletions
+34
View File
@@ -5,6 +5,7 @@ Feature: Registration Page
Scenario: Start registration from landing page
Given There is an upcoming conference in Halifax NS
And Registration is open
And a workshop titled My Awesome Workshop exists
And I am on the landing page
Then I see the Bike!Bike! logo
@@ -110,6 +111,39 @@ Feature: Registration Page
And I should not see My Workshop Title
And I should not see Super Awesome Workshop
Scenario: Be the first to like a workshop
Given There is an upcoming conference in Guadalajara Mexico
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 a workshop exists
And I view the workshop
Then I should see No one is interested
Then click on toggle_interest button
Then I should see You are interested
Then I click on toggle_interest button
Then I should see No one is interested
Scenario: Like a workshop
Given There is an upcoming conference in Guadalajara Mexico
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 a workshop exists
And 4 people are interested in the workshop
And I view the workshop
Then I should see 4 people are interested
Then click on toggle_interest button
Then I should see You and 4 others are interested
Then I click on toggle_interest button
Then I should see 4 people are interested
Scenario: Broadcast message
Given There is an upcoming conference in San Marcos TX
And Registration is open