Rev 1 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
@format @format_singleactivityFeature: Courses can be created in Single Activity modeIn order to create a single activity courseAs a managerI need to create courses and set default values on themScenario: Create a course as a custom course creatorGiven the following "users" exist:| username | firstname | lastname | email || kevin | Kevin | the | kevin@example.com |And the following "roles" exist:| shortname | name | archetype || creator | Creator | |And the following "system role assigns" exist:| user | role | contextlevel || kevin | creator | System |And the following "role capability" exists:| role | creator || moodle/course:create | allow || moodle/course:update | allow || moodle/course:manageactivities | allow || moodle/course:viewparticipants | allow || moodle/role:assign | allow |When I log in as "kevin"And I am on site homepageAnd I press "Add a new course"And I set the following fields to these values:| Course full name | My first course || Course short name | myfirstcourse || Format | Single activity |And I press "Update format"Then I should see "Quiz" in the "Type of activity" "field"And I should see "Forum" in the "Type of activity" "field"And I set the field "Type of activity" to "Quiz"And I press "Save and display"And I should see "New Quiz"