AutorÃa | Ultima modificación | Ver Log |
@core @core_filesFeature: Course filesIn order to add legacy filesAs a userI need to upload files@javascriptScenario: Add legacy filesGiven the following "courses" exist:| fullname | shortname | category | legacyfiles || Course 1 | C1 | 0 | 2 |And the following config values are set as admin:| legacyfilesinnewcourses | 1 || legacyfilesaddallowed | 1 |When I log in as "admin"And I am on "Course 1" course homepageThen I navigate to "Legacy course files" in current page administrationAnd I press "Edit legacy course files"And "Add..." "link" should be visibleAnd "Create folder" "link" should be visible@javascriptScenario: Add legacy file disabledGiven the following "courses" exist:| fullname | shortname | category | legacyfiles || Course 1 | C1 | 0 | 2 |And the following config values are set as admin:| legacyfilesinnewcourses | 1 || legacyfilesaddallowed | 0 |When I log in as "admin"And I am on "Course 1" course homepageThen I navigate to "Legacy course files" in current page administrationAnd I press "Edit legacy course files"And "Add..." "link" should not be visibleAnd "Create folder" "link" should not be visible