updated cucumber steps
This commit is contained in:
parent
050964b7ec
commit
c6a17cc00b
2 changed files with 14 additions and 37 deletions
|
|
@ -11,17 +11,10 @@ Feature: invitation acceptance
|
||||||
And I press "Create my account"
|
And I press "Create my account"
|
||||||
Then I should be on the getting started page
|
Then I should be on the getting started page
|
||||||
And I should see "Welcome"
|
And I should see "Welcome"
|
||||||
Then I follow Edit Profile in the same window
|
|
||||||
And I fill in the following:
|
And I fill in the following:
|
||||||
| profile_first_name | O |
|
| profile_first_name | O |
|
||||||
| profile_last_name | Hai |
|
|
||||||
| tags | #beingawesome |
|
When I follow "awesome_button"
|
||||||
| profile_bio | swagger |
|
|
||||||
| profile_location | new york, ny |
|
|
||||||
| profile_gender | diasporian |
|
|
||||||
And I press "Update Profile"
|
|
||||||
And I should see "Welcome"
|
|
||||||
When I follow "Finished"
|
|
||||||
Then I should be on the multi page
|
Then I should be on the multi page
|
||||||
|
|
||||||
Scenario: accept invitation from user
|
Scenario: accept invitation from user
|
||||||
|
|
@ -35,17 +28,10 @@ Feature: invitation acceptance
|
||||||
And I press "Create my account"
|
And I press "Create my account"
|
||||||
Then I should be on the getting started page
|
Then I should be on the getting started page
|
||||||
And I should see "Welcome"
|
And I should see "Welcome"
|
||||||
Then I follow Edit Profile in the same window
|
|
||||||
And I fill in the following:
|
And I fill in the following:
|
||||||
| profile_first_name | O |
|
| profile_first_name | O |
|
||||||
| profile_last_name | Hai |
|
|
||||||
| tags | #beingawesome |
|
When I follow "awesome_button"
|
||||||
| profile_bio | swagger |
|
|
||||||
| profile_location | new york, ny |
|
|
||||||
| profile_gender | diasporian |
|
|
||||||
And I press "Update Profile"
|
|
||||||
And I should see "Welcome"
|
|
||||||
When I follow "Finished"
|
|
||||||
Then I should be on the multi page
|
Then I should be on the multi page
|
||||||
|
|
||||||
Scenario: sends an invitation
|
Scenario: sends an invitation
|
||||||
|
|
|
||||||
|
|
@ -10,26 +10,17 @@ Feature: new user registration
|
||||||
And I press "Create my account"
|
And I press "Create my account"
|
||||||
Then I should be on the getting started page
|
Then I should be on the getting started page
|
||||||
And I should see "Welcome"
|
And I should see "Welcome"
|
||||||
And I should see "Fill out your profile"
|
And I should see "Who are you?"
|
||||||
And I should see "Connect to your other social networks"
|
And I should see "What are you into?"
|
||||||
And I should see "Connect with cool people"
|
|
||||||
And I should see "Follow your interests"
|
|
||||||
And I should see "Connect to Cubbi.es"
|
|
||||||
|
|
||||||
Scenario: new user goes through the setup wizard
|
Scenario: new user goes through the setup wizard
|
||||||
When I follow Edit Profile in the same window
|
And I fill in the following:
|
||||||
And I fill in "profile_first_name" with "O"
|
| profile_first_name | O |
|
||||||
And I fill in "profile_last_name" with "Hai"
|
And I follow "awesome_button"
|
||||||
And I fill in "tags" with "#tags"
|
|
||||||
And I press "Update Profile"
|
|
||||||
And I wait for the ajax to finish
|
|
||||||
Then I should see "O Hai" within "#user_menu"
|
|
||||||
And I should see "Welcome"
|
|
||||||
And I follow "Finished"
|
|
||||||
|
|
||||||
Then I should be on the multi page
|
Then I should be on the aspects page
|
||||||
And I should not see "Finished"
|
And I should not see "awesome_button"
|
||||||
|
|
||||||
Scenario: new user skips the setup wizard
|
Scenario: new user skips the setup wizard
|
||||||
When I follow "Finished"
|
When I follow "awesome_button"
|
||||||
Then I should be on the multi page
|
Then I should be on the multi page
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue