Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
@javascript @theme_boostFeature: Course reuse navigationAs a teacherI can navigate to course reuse pagesBackground:Given the following "courses" exist:| fullname | shortname | newsitems || Course 1 | C1 | 5 |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 |Scenario: A Teacher can navigate to the course Import page.Given I log in as "teacher1"When I am on "Course 1" course homepageAnd I navigate to "Course reuse" in current page administrationThen I should not see "Find a course to import data from:"And I should see "Import"And I should see "Backup"And I should see "Restore"And I should not see "Copy course"Scenario Outline: A Teacher can navigate to other Course reuse pages.Given I log in as "teacher1"When I am on "Course 1" course homepageAnd I navigate to "Course reuse" in current page administrationAnd I follow "<adminpage>"Then I should see "<content>"Examples:| adminpage | content || Backup | Backup settings || Restore | Upload a backup file || Import | Find a course to import data from: || Reset | Delete all user data and reset this course to its original state |Scenario: An Administrator can view the course copy page.Given I log in as "admin"When I am on "Course 1" course homepageAnd I navigate to "Course reuse" in current page administrationAnd I follow "Copy course"Then I should see "Create a copy of this course in any course category"