AutorÃa | Ultima modificación | Ver Log |
@mod @mod_lessonFeature: In a lesson activity, teachers can view detailed statistics reportTo review detailed statistics in a lessonAs a TeacherI need to ve able to navigate to detailed statistics report page.Background:Given the following "users" exist:| username | firstname | lastname | email || teacher1 | Teacher | 1 | teacher1@example.com || student1 | Student | 1 | student1@example.com || student2 | Student | 2 | student2@example.com |And the following "courses" exist:| fullname | shortname | category || Course 1 | C1 | 0 |And the following "course enrolments" exist:| user | course | role || teacher1 | C1 | editingteacher || student1 | C1 | student || student2 | C1 | student |And the following "activities" exist:| activity | name | course | idnumber | retake || lesson | Test lesson name | C1 | lesson1 | 1 |And I am on the "Test lesson name" "lesson activity" page logged in as teacher1Scenario: View detailed statistics in a lesson when empty string is given as answerGiven the following "mod_lesson > page" exist:| lesson | qtype | title | content || Test lesson name | numeric | Numerical question | What is 1 + 0.5? |And the following "mod_lesson > answer" exist:| page | answer | jumpto | score || Numerical question | 1.5 | End of lesson | 1 |When I am on the "Test lesson name" "lesson activity" page logged in as student1And I press "Submit"And I log outAnd I am on the "Test lesson name" "lesson activity" page logged in as student2And I set the field "Your answer" to "1.5"And I press "Submit"And I am on the "Test lesson name" "lesson activity" page logged in as teacher1And I navigate to "Reports" in current page administrationAnd I select "Detailed statistics" from the "jump" singleselectThen I should see "50% entered this."