Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 37 lines (32 sloc) 1.31 kb
d3fd3cf @sferik Generate new clearance features
sferik authored
1 Feature: Sign up with handle
2 In order to get access to protected sections of the site
3 A user
4 Should be able to sign up with handle
5
6 Scenario: User signs up with no handle
7 When I go to the sign up page
8 And I fill in "Email" with "email@person.com"
9 And I fill in "Password" with "password"
10 And I press "Sign up"
11 Then I should see error messages
12
13 Scenario: User signs up with invalid handle
14 When I go to the sign up page
15 And I fill in "Email" with "email@person.com"
16 And I fill in "Handle" with "thisusernameiswaytoolongseriouslywaytoolong"
17 And I fill in "Password" with "password"
18 And I press "Sign up"
df2125a @cmeiklejohn One error message on too-long, but well-formed email; no confirmation af...
cmeiklejohn authored
19 Then I should see an error message
d3fd3cf @sferik Generate new clearance features
sferik authored
20
58ff16f @cmeiklejohn Login field needs to allow email or handle.
cmeiklejohn authored
21 Scenario: User signs up with registered handle
22 Given I am signed up as "email@person.com"
23 When I go to the sign up page
24 And I fill in "Email" with "email@person.com"
25 And I fill in "Handle" with "validhandledude"
26 And I fill in "Password" with "password"
27 And I press "Sign up"
28 Then I should see an error message
29
d3fd3cf @sferik Generate new clearance features
sferik authored
30 Scenario: User signs up with valid data
31 When I go to the sign up page
32 And I fill in "Email" with "email@person.com"
33 And I fill in "Handle" with "validhandledude"
34 And I fill in "Password" with "password"
35 And I press "Sign up"
df2125a @cmeiklejohn One error message on too-long, but well-formed email; no confirmation af...
cmeiklejohn authored
36 Then I should be signed in
Something went wrong with that request. Please try again.