AutorÃa | Ultima modificación | Ver Log |
@mod @mod_labelFeature: set label idnumberIn order to set label idnumberAs a teacherI should create label activity and set an ID numberScenario: label ID number input box should be shown.Given the following "courses" exist:| fullname | shortname | category || Test | C1 | 0 |And the following "users" exist:| username | firstname | lastname | email || teacher | Teacher | First | teacher1@example.com || student | Student | First | student1@example.com |And the following "course enrolments" exist:| user | course | role || teacher | C1 | editingteacher || student | C1 | student |And the following "activities" exist:| activity | course | section | intro | idnumber || label | C1 | 1 | Label with ID number set | C1LABEL1 |When I log in as "teacher"And I am on "Test" course homepage with editing mode onThen "Label with ID number set" activity should be visibleAnd I turn editing mode offAnd "Label with ID number set" activity should be visibleAnd I log outAnd I log in as "student"And I am on "Test" course homepageAnd I should see "Label with ID number set"And I log outAnd I am on the "Label with ID number set" "label activity editing" page logged in as teacherAnd I expand all fieldsetsAnd I should see "ID number" in the "Common module settings" "fieldset"And the field "ID number" matches value "C1LABEL1"