Sha256: ba95dc2f192ed20c905a83cbda868427009b22779b9be1cd472d2bac5d2d6e95
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
Feature: Sign in In order to get access to protected sections of the site As a visitor I want to sign in Scenario: Visitor is not signed up Given no user exists with an email of "email@example.com" When I go to the sign in page And I sign in as "email@example.com" Then I should see "Bad email or password" And I should be signed out Scenario: Visitor enters wrong password Given I am signed up as "email@example.com" When I go to the sign in page And I fill in "Email" with "email@example.com" And I fill in "Password" with "badpassword" And I press "Sign in" Then I should see "Bad email or password" And I should be signed out Scenario: Visitor signs in successfully Given I am signed up as "email@example.com" When I go to the sign in page Then I should see an email field And I sign in as "email@example.com" Then I should see "Signed in" And I should be signed in Scenario: Visitor signs in successfully with uppercase email Given I am signed up as "email@example.com" When I go to the sign in page And I sign in as "Email@example.com" Then I should see "Signed in" And I should be signed in
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
clearance-0.11.2 | features/engine/visitor_signs_in.feature |