Workshop auth fixes and better error reporting

This commit is contained in:
Godwin
2017-07-19 20:29:25 -07:00
parent c21cc05c99
commit e8ca73a801
20 changed files with 371 additions and 332 deletions
+19 -2
View File
@@ -3,12 +3,11 @@ Feature: Workshops
Given there is an upcoming conference
And registration is open
And I am logged in
And registered for the conference
And registered
And on the registration page
Then I should see 'New Workshop'
And should see 'View Workshops'
Then I should see 'New Workshop'
But I should not see any workshops
When I click on 'New Workshop'
@@ -66,6 +65,24 @@ Feature: Workshops
Then I should see 'New Workshop'
But I should not see any workshops
Scenario: Un-Registered users cannot create workshops
Given there is an upcoming conference
And the conference has workshop info copy
And registration is open
And I am logged in
And on the landing page
Then I should see 'View Workshops'
When I click on 'View Workshops'
Then I should be on the workshops page
And I should see 'New Workshop'
But I should not see any workshops
When I click on 'New Workshop'
Then I should see 'Please complete your registration'
But I should not see 'Create a Workshop'
Scenario: Users can comment on and translate their own workshops
Given that there is an upcoming conference
And registration is open