AutorÃa | Ultima modificación | Ver Log |
@block @block_myprofileFeature: The logged in user block allows users to view their profile information in a courseIn order to enable the logged in user block in a courseAs a teacherI can add the logged in user block to a course and view my informationScenario: View the logged in user block by a user in a courseGiven the following "users" exist:| username | firstname | lastname | email | idnumber || teacher1 | Teacher | One | teacher1@example.com | T1 |And the following "courses" exist:| fullname | shortname | category || Course 1 | C1 | 0 |And the following "course enrolments" exist:| user | course | role || teacher1 | C1 | editingteacher |When I log in as "teacher1"And I am on "Course 1" course homepage with editing mode onAnd I add the "Logged in user" blockThen I should see "Teacher One" in the "Logged in user" "block"