johnny (owner)

Fork Of

Revisions

gist: 38288 Download_button fork
public
Public Clone URL: git://gist.github.com/38288.git
Embed All Files: show embed
features/login.feature #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Feature: Login
  To ensure the safety of the application
  A regular user of the system
  Must authenticate before using the app
 
  Scenario Outline: Failed Login
    Given I am not authenticated
    When I go to /login
    And I fill in "login" with "<mail>"
    And I fill in "password" with "<password>"
    And I press "Log In"
    Then the login request should fail
    Then I should see an error message
  
    Examples:
      | mail | password |
      | not_an_address | nil |
      | not@not | 123455 |
      | 123@abc.com | wrong_paasword |