Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
@format @format_topicsFeature: General section does not show in navigation when emptyIn order to keep my navigation links relevantAs a teacherThe general section links should not appear in the navigation when the section is emptyBackground:Given the following "users" exist:| username | firstname | lastname | email || teacher1 | Teacher | 1 | teacher1@example.com |And the following "courses" exist:| fullname | shortname | format | coursedisplay | numsections || Course 1 | C1 | topics | 0 | 5 |And the following "course enrolments" exist:| user | course | role || teacher1 | C1 | editingteacher |And the following "activities" exist:| activity | name | course | idnumber | section || forum | Test forum name | C1 | forum1 | 1 |And I log in as "teacher1"And I am on "Course 1" course homepage with editing mode onAnd the following config values are set as admin:| unaddableblocks | | theme_boost|And I add the "Navigation" block if not presentScenario: General section is visible in navigation when it is not emptyWhen I move "Test forum name" activity to section "0"And I am on "Course 1" course homepageThen I should see "General" in the "Navigation" "block"Scenario: General section is not visible in navigation when it is emptyWhen I move "Test forum name" activity to section "3"And I am on "Course 1" course homepageThen I should not see "General" in the "Navigation" "block"