AutorÃa | Ultima modificación | Ver Log |
@mod @mod_assignFeature: Assignment with no calendar capabilitesIn order to allow work effectivelyAs a teacherI need to be able to create assignments even when I cannot edit calendar eventsBackground:Given the following "courses" exist:| fullname | shortname | category | groupmode || Course 1 | C1 | 0 | 1 |And the following "users" exist:| username | firstname | lastname | email || teacher1 | Teacher | 1 | teacher1@example.com |And the following "course enrolments" exist:| user | course | role || teacher1 | C1 | editingteacher |And I am on the "C1" "permissions" page logged in as adminAnd I override the system permissions of "Teacher" role with:| capability | permission || moodle/calendar:manageentries | Prohibit |Scenario: Editing an assignmentGiven the following "activities" exist:| activity | name | intro | course | section || assign | Test assignment name | Test assignment description | C1 | 1 |And I am on the "Test assignment name" Activity pageAnd I navigate to "Settings" in current page administrationAnd I set the following fields to these values:| Allow submissions from | ##1 January 2017## || Due date | ##1 February 2017## || Cut-off date | ##2 February 2017## || Remind me to grade by | ##1 March 2017## |And I press "Save and return to course"And I log outWhen I am on the "Test assignment name" Activity page logged in as teacher1And I navigate to "Settings" in current page administrationAnd I set the following fields to these values:| Allow submissions from | ##1 January 2018## || Due date | ##1 February 2018## || Cut-off date | ##2 February 2018## || Remind me to grade by | ##1 March 2018## |And I press "Save and return to course"Then I should see "Test assignment name"