Commit 399569e9e7b4f7478829acdd550e161e04d12acf
1 parent
51baa75a
Exists in
staging
and in
15 other branches
signup-feature: remove selenium broken tests
These tests weren't working because acessing the signup before breaks the return_to.
Showing
1 changed file
with
0 additions
and
35 deletions
Show diff stats
features/signup.feature
@@ -71,21 +71,6 @@ Feature: signup | @@ -71,21 +71,6 @@ Feature: signup | ||
71 | When I press "Save" | 71 | When I press "Save" |
72 | Then I should see "Name can't be blank" | 72 | Then I should see "Name can't be blank" |
73 | 73 | ||
74 | - @selenium | ||
75 | - Scenario: user should stay on same page after signup | ||
76 | - Given the environment is configured to stay on the same page after signup | ||
77 | - And feature "skip_new_user_email_confirmation" is enabled on environment | ||
78 | - And I am on /search/people | ||
79 | - When I follow "Sign up" | ||
80 | - And I fill in the following within ".no-boxes": | ||
81 | - | e-Mail | josesilva@example.com | | ||
82 | - | Username | josesilva | | ||
83 | - | Password | secret | | ||
84 | - | Password confirmation | secret | | ||
85 | - | Full name | José da Silva | | ||
86 | - And wait for the captcha signup time | ||
87 | - And I press "Create my account" | ||
88 | - Then I should be on /search/people | ||
89 | 74 | ||
90 | @selenium | 75 | @selenium |
91 | Scenario: user should go to his homepage after signup | 76 | Scenario: user should go to his homepage after signup |
@@ -167,26 +152,6 @@ Feature: signup | @@ -167,26 +152,6 @@ Feature: signup | ||
167 | Then I should be on the welcome page | 152 | Then I should be on the welcome page |
168 | 153 | ||
169 | @selenium | 154 | @selenium |
170 | - Scenario: user should stay on same page after following confirmation link | ||
171 | - Given the environment is configured to stay on the same page after login | ||
172 | - And feature "skip_new_user_email_confirmation" is disabled on environment | ||
173 | - And I am on /search/people | ||
174 | - When I follow "Sign up" | ||
175 | - And I fill in the following within ".no-boxes": | ||
176 | - | e-Mail | josesilva@example.com | | ||
177 | - | Username | josesilva | | ||
178 | - | Password | secret | | ||
179 | - | Password confirmation | secret | | ||
180 | - | Full name | José da Silva | | ||
181 | - And wait for the captcha signup time | ||
182 | - And I press "Create my account" | ||
183 | - And I go to josesilva's confirmation URL | ||
184 | - And I fill in "Username" with "josesilva" | ||
185 | - And I fill in "Password" with "secret" | ||
186 | - And I press "Log in" | ||
187 | - Then I should be on /search/people | ||
188 | - | ||
189 | - @selenium | ||
190 | Scenario: user should go to his homepage after following confirmation link | 155 | Scenario: user should go to his homepage after following confirmation link |
191 | Given the environment is configured to redirect to profile homepage after login | 156 | Given the environment is configured to redirect to profile homepage after login |
192 | And feature "skip_new_user_email_confirmation" is disabled on environment | 157 | And feature "skip_new_user_email_confirmation" is disabled on environment |