[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @block @block_myprofile 2 Feature: The logged in user block allows users to view their profile information in an activity 3 In order to enable the logged in user block in an activity 4 As a teacher 5 I can add the logged in user block to an activity and view my information 6 7 Scenario: View the logged in user block by a user in an activity 8 Given the following "users" exist: 9 | username | firstname | lastname | email | idnumber | 10 | teacher1 | Teacher | One | teacher1@example.com | T1 | 11 And the following "courses" exist: 12 | fullname | shortname | category | 13 | Course 1 | C1 | 0 | 14 And the following "course enrolments" exist: 15 | user | course | role | 16 | teacher1 | C1 | editingteacher | 17 And the following "activities" exist: 18 | activity | course | idnumber | name | intro | 19 | page | C1 | page1 | Test page name | Test page description | 20 And I log in as "teacher1" 21 And I follow "Course 1" 22 And I turn editing mode on 23 And I follow "Test page name" 24 When I add the "Logged in user" block 25 Then I should see "Teacher One" in the "Logged in user" "block"
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 |