2 # This file is subject to the license terms in the LICENSE file found in the
3 # qa-browsertests top-level directory and at
4 # https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/LICENSE. No part of
5 # qa-browsertests, including this file, may be copied, modified, propagated, or
6 # distributed except according to the terms contained in the LICENSE file.
8 # Copyright 2012-2014 by the Mediawiki developers. See the CREDITS file in the
9 # qa-browsertests top-level directory and at
10 # https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/CREDITS
12 @chrome @clean @firefox @internet_explorer_6 @internet_explorer_7 @internet_explorer_8 @internet_explorer_9 @internet_explorer_10 @phantomjs
16 Given I am at Log in page
18 Scenario: Go to Log in page
19 Then Username element should be there
20 And Password element should be there
21 And Log in element should be there
23 Scenario: Log in without entering credentials
24 When I log in without entering credentials
25 Then error box should be visible
27 Scenario: Log in without entering password
28 When I log in without entering password
29 Then error box should be visible
31 Scenario: Log in with incorrect username
32 When I log in with incorrect username
33 Then error box should be visible
35 Scenario: Log in with incorrect password
36 When I log in with incorrect password
37 Then error box should be visible
40 Scenario: Log in with valid credentials
42 Then error box should not be visible