This reverts commit 9f4035ab019803fc53844e70884b0519142deb18. Conflicts: app/views/services/_remote_friend.html.haml app/views/users/getting_started/_step_3.html.haml refactored invitations, added them to the last page fixed styling on adding an aspect to the aspect list added a facebook for person edit aspect memberships touched up and simplified sign-up flow fix styling on step 3
50 lines
2 KiB
Gherkin
50 lines
2 KiB
Gherkin
@javascript
|
|
Feature: invitation acceptance
|
|
Scenario: accept invitation from admin
|
|
Given I have been invited by an admin
|
|
And I am on my acceptance form page
|
|
And I fill in "Username" with "ohai"
|
|
And I fill in "Email" with "woot@sweet.com"
|
|
And I fill in "user_password" with "secret"
|
|
And I fill in "Password confirmation" with "secret"
|
|
And I press "Sign up"
|
|
Then I should be on the getting started page
|
|
And I should see "getting_started_logo"
|
|
When I fill in "profile_first_name" with "O"
|
|
And I fill in "profile_last_name" with "Hai"
|
|
And I fill in "profile_gender" with "guess!"
|
|
And I press "Save and continue"
|
|
Then I should see "Profile updated"
|
|
And I should see "would you like to find your friends on facebook?"
|
|
And I should not see "Here are the people who are waiting for you:"
|
|
|
|
Scenario: accept invitation from user
|
|
Given I have been invited by a user
|
|
And I am on my acceptance form page
|
|
And I fill in "Username" with "ohai"
|
|
And I fill in "Email" with "sweet@woot.com"
|
|
And I fill in "user_password" with "secret"
|
|
And I fill in "Password confirmation" with "secret"
|
|
And I press "Sign up"
|
|
Then I should be on the getting started page
|
|
And I should see "getting_started_logo"
|
|
When I fill in "profile_first_name" with "O"
|
|
And I fill in "profile_last_name" with "Hai"
|
|
And I fill in "profile_gender" with "guess!"
|
|
And I press "Save and continue"
|
|
Then I should see "Profile updated"
|
|
|
|
And I should see "would you like to find your friends on facebook?"
|
|
|
|
When I follow "Skip"
|
|
Then I should see "People already on Diaspora"
|
|
|
|
And I press the first ".share_with.button"
|
|
And I press the first ".add.button" within "#facebox #aspects_list ul > li:first-child"
|
|
And I wait for the ajax to finish
|
|
|
|
When I go to the home page
|
|
Then I go to the aspects manage page
|
|
Then I should see 1 contact in "Family"
|
|
|
|
|