Commit 64a1b3abc790658e50df6d0d646dd6a2f67f5344
1 parent
9abc6b40
Exists in
master
and in
22 other branches
signup.feature: fix timing issue
Before testing for stuff in the database, we need first wait for a visual cue that the processing actually finished (in this case, looking for something in the expected page makes cucumber wait until the page actually shows up)
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
features/signup.feature
@@ -297,7 +297,8 @@ Feature: signup | @@ -297,7 +297,8 @@ Feature: signup | ||
297 | | Full name | José da Silva | | 297 | | Full name | José da Silva | |
298 | And wait for the captcha signup time | 298 | And wait for the captcha signup time |
299 | And I press "Create my account" | 299 | And I press "Create my account" |
300 | - Then "José da Silva" should be a member of "Free Software" | 300 | + Then I should see "Control panel" |
301 | + And "José da Silva" should be a member of "Free Software" | ||
301 | 302 | ||
302 | @selenium | 303 | @selenium |
303 | Scenario: user registration is moderated by admin | 304 | Scenario: user registration is moderated by admin |
@@ -349,4 +350,4 @@ Feature: signup | @@ -349,4 +350,4 @@ Feature: signup | ||
349 | And I fill in "Username / Email" with "teste" | 350 | And I fill in "Username / Email" with "teste" |
350 | And I fill in "Password" with "123456" | 351 | And I fill in "Password" with "123456" |
351 | And I press "Log in" | 352 | And I press "Log in" |
352 | - Then I should not see "teste" | ||
353 | \ No newline at end of file | 353 | \ No newline at end of file |
354 | + Then I should not see "teste" |