summaryrefslogtreecommitdiff
path: root/tests/browser/features/login.feature
blob: 2cb635642997889feef5eee4356b43d4e1e70ec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@chrome @clean @firefox @internet_explorer_6 @internet_explorer_7 @internet_explorer_8 @internet_explorer_9 @internet_explorer_10 @phantomjs
Feature: Log in

  Background:
    Given I am at Log in page

  Scenario: Go to Log in page
    Then Username element should be there
      And Password element should be there
      And Log in element should be there

  Scenario: Log in without entering credentials
    When I log in without entering credentials
    Then error box should be visible

  Scenario: Log in without entering password
    When I log in without entering password
    Then error box should be visible

  Scenario: Log in with incorrect username
    When I log in with incorrect username
    Then error box should be visible

  Scenario: Log in with incorrect password
    When I log in with incorrect password
    Then error box should be visible

  @login
  Scenario: Log in with valid credentials
    When I am logged in
    Then error box should not be visible