Commit 64a1b3abc790658e50df6d0d646dd6a2f67f5344

Authored by Antonio Terceiro
1 parent 9abc6b40

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 297 | Full name | José da Silva |
298 298 And wait for the captcha signup time
299 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 303 @selenium
303 304 Scenario: user registration is moderated by admin
... ... @@ -349,4 +350,4 @@ Feature: signup
349 350 And I fill in "Username / Email" with "teste"
350 351 And I fill in "Password" with "123456"
351 352 And I press "Log in"
352   - Then I should not see "teste"
353 353 \ No newline at end of file
  354 + Then I should not see "teste"
... ...