[ 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 a course 3 In order to enable the logged in user block in a course 4 As a teacher 5 I can add the logged in user block to a course and view my information 6 7 Scenario: View the logged in user block by a user in a course 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 When I log in as "teacher1" 18 And I follow "Course 1" 19 And I turn editing mode on 20 And I add the "Logged in user" block 21 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 |