Merge "Add page_restrictions to readlock in lockSearchindex"
[lhc/web/wiklou.git] / tests / browser / features / login.feature
1 @chrome @clean @firefox @internet_explorer_6 @internet_explorer_7 @internet_explorer_8 @internet_explorer_9 @internet_explorer_10 @phantomjs
2 Feature: Log in
3
4 Background:
5 Given I am at Log in page
6
7 Scenario: Go to Log in page
8 Then Username element should be there
9 And Password element should be there
10 And Log in element should be there
11
12 Scenario: Log in without entering credentials
13 When I log in without entering credentials
14 Then error box should be visible
15
16 Scenario: Log in without entering password
17 When I log in without entering password
18 Then error box should be visible
19
20 Scenario: Log in with incorrect username
21 When I log in with incorrect username
22 Then error box should be visible
23
24 Scenario: Log in with incorrect password
25 When I log in with incorrect password
26 Then error box should be visible
27
28 @login
29 Scenario: Log in with valid credentials
30 When I am logged in
31 Then error box should not be visible