create subgroup w/ FB or Google OAuth [2]
Closed this issue · 0 comments
resolved by #678
Acceptance Criteria
GIVEN I am a logged-out user
AND I have a FACEBOOK account with an email not tied to an Affinity account
AND I am visiting the subgroup creation page for Group Foo
- THEN I will see a "Create with Facebook" button
- WHEN I click the "Create with Facebook" button
- THEN I will be forwarded to the
members/new
page to gather my zip and phone number - WHEN I fill out the form successfully
- THEN a new group will be created, I will be made its organizer, and I will receive a welcome email
- AND THEN I will be forwarded to the group's dashboard page
GIVEN I am a logged-out user
AND I have a FACEBOOK account with an email tied to an existing Affinity account
AND I do not have a zip code on record with Affinity
AND I am visiting the subgroup creation page for Group Foo
- THEN I will see a "Create with Facebook" button
- WHEN I click the "Create with Facebook" button
- THEN I will be forwarded to the
members/new
page to gather my zip and phone number - WHEN I fill out the form successfully
- THEN a new group will be created, I will be made its organizer, and I will receive a welcome email
- AND THEN I will be forwarded to the group's dashboard page
GIVEN I am a logged-out user
AND I have a FACEBOOK account with an email tied to an existing Affinity account
AND I do have a zip code on record with Affinity
AND I am visiting the subgroup creation page for Group Foo
- THEN I will see a "Create with Facebook" button
- WHEN I click the "Create with Facebook" button
- THEN a new group will be created, I will be made its organizer, and I will receive a welcome email
- AND THEN I will be forwarded to the group's dashboard page
GIVEN I have made an error in any of the forms above
- THEN I will be prompted to correct them and not allowed to proceed until I do
GIVEN I have a GOOGLE account, all of the flows described above will work as described for FACEBOOK