AutorÃa | Ultima modificación | Ver Log |
@report @report_logFeature: In a report, admin can filter log dataIn order to filter log dataAs an adminI need to log in with different user and go to log and apply filterBackground:Given the following "courses" exist:| fullname | shortname | category | groupmode || Course 1 | C1 | 0 | 1 |And the following "users" exist:| username | firstname | lastname | email | idnumber | middlename | alternatename | firstnamephonetic | lastnamephonetic || teacher1 | Teacher | One | teacher1@example.com | t1 | | fred | | || student1 | Grainne | Beauchamp | student1@example.com | s1 | Ann | Jill | Gronya | Beecham |And the following "course enrolments" exist:| user | course | role || admin | C1 | editingteacher || student1 | C1 | student |And the following config values are set as admin:| fullnamedisplay | firstname || alternativefullnameformat | middlename, alternatename, firstname, lastname |And I log in as "admin"Scenario: Filter log report for standard log readerGiven I am on "Course 1" course homepageAnd I navigate to course participantsAnd I follow "Ann, Jill, Grainne, Beauchamp"And I click on "Log in as" "link"And I press "Continue"And I log outAnd I log in as "admin"When I navigate to "Reports > Logs" in site administrationAnd I set the field "id" to "Acceptance test site (Site)"And I set the field "user" to "All participants"And I press "Get these logs"Then I should see "User logged in as another user"