[ Index ] |
PHP Cross Reference of Unnamed Project |
[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 | student1@example.com | 11 And I log in as "admin" 12 And I am on site homepage 13 And I navigate to "Turn editing on" node in "Front page settings" 14 And I add the "Login" block 15 16 Scenario: Login block visible to non-logged in users 17 Given I log out 18 When I am on homepage 19 Then "Login" "block" should exist 20 21 Scenario: Login as student through login block 22 Given I log out 23 And I am on homepage 24 When I set the field "Username" to "testuser" 25 And I set the field "Password" to "testpass" 26 And I click on "Log in" "button" in the "Login" "block" 27 Then I should see "You are logged in as Test User" 28 And "Login" "block" should not exist
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |