[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
1 @block @block_login 2 Feature: Login from a block 3 In order to make it easier to login 4 As an user 5 In need to login through a block 6 7 Background: 8 Given the following "users" exist: 9 | username | password | firstname | lastname | email | 10 | testuser | testpass | Test | User | [email protected] | 11 And I log in as "admin" 12 And I navigate to "Turn editing on" node in "Front page settings" 13 And I add the "Login" block 14 15 Scenario: Login block visible to non-logged in users 16 Given I log out 17 When I am on homepage 18 Then "Login" "block" should exist 19 20 Scenario: Login as student through login block 21 Given I log out 22 And I am on homepage 23 When I set the field "Username" to "testuser" 24 And I set the field "Password" to "testpass" 25 And I click on "Log in" "button" in the "Login" "block" 26 Then I should see "You are logged in as Test User" 27 And "Login" "block" should not exist
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |