AutorÃa | Ultima modificación | Ver Log |
@report @report_log @mod_subsectionFeature: Subsection behavior in Log report.Background:Given the following "courses" exist:| fullname | shortname | category | numsections | initsections || Course 1 | C1 | 0 | 2 | 1 |And the following "users" exist:| username | firstname | lastname | email || student1 | Student | 1 | student1@example.com |And the following "course enrolments" exist:| user | course | role || admin | C1 | editingteacher || student1 | C1 | student |And the following "activities" exist:| activity | name | course | idnumber | section || subsection | Subsection 1 | C1 | subsection1 | 1 || page | Page 1 | C1 | page1 | 3 |@javascriptScenario: Visible subsections should be available in the activities selectorGiven I log in as "admin"And I am on "Course 1" course homepageWhen I navigate to "Reports" in current page administrationAnd I click on "Logs" "link"Then the "Activities" select box should contain "Subsection 1"And the "Activities" select box should contain "Page 1"@javascriptScenario: Hidden subsections should be available in the activities selectorGiven I log in as "admin"And I am on "Course 1" course homepage with editing mode onAnd I hide section "Subsection 1"When I navigate to "Reports" in current page administrationAnd I click on "Logs" "link"Then the "Activities" select box should not contain "Subsection 1"And the "Activities" select box should not contain "Page 1"