AutorÃa | Ultima modificación | Ver Log |
@core @core_course @_cross_browser @javascriptFeature: Topic's course sections highlightingIn order to highlight parts of the course to studentsAs a teacherI need to highlight one specific section@javascriptScenario Outline: Highlight a course section with course paged mode and without itGiven the following "users" exist:| username | firstname | lastname | email || teacher1 | Teacher | 1 | teacher1@example.com || student1 | Student | 1 | student1@example.com |And the following "courses" exist:| fullname | shortname | format | coursedisplay || Course 1 | C1 | topics | <coursedisplay> |And the following "course enrolments" exist:| user | course | role || teacher1 | C1 | editingteacher || student1 | C1 | student |And I log in as "teacher1"And I am on "Course 1" course homepage with editing mode onWhen I turn section "1" highlighting onThen section "1" should be highlightedAnd I turn section "2" highlighting onAnd section "2" should be highlightedAnd section "1" should not be highlightedAnd I am on "Course 1" course homepageAnd section "2" should be highlightedAnd section "1" should not be highlightedAnd I turn section "2" highlighting offAnd I wait until the page is readyAnd section "2" should not be highlightedAnd I reload the pageAnd section "2" should not be highlightedAnd I am on "Course 1" course homepageAnd section "2" should not be highlightedAnd I log outAnd I log in as "student1"And I am on "Course 1" course homepageAnd section "1" should not be highlightedAnd section "2" should not be highlightedExamples:| coursedisplay || 0 || 1 |