aboutsummaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/login_local.feature
blob: a7814b8f6ec618422f4f49ad793bde314cf9876f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Feature: Local login
  In order to login locally
  As a member
  I need to successfully authenticate

  Scenario: Provide wrong credentials
    Given I am on "/login"
    When I fill in "id_username" with "foo"
    And I fill in "id_password" with "bar"
    And I press "submit"
    Then I should be on "/login" 

  Scenario: Provide correct credentials
    Given I am on "/login"
    When I fill in "id_username" with "behat"
    And I fill in "id_password" with "behat"
    And I press "submit"
    Then I should be on "/apps"