__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
@javascript @theme_boost
Feature: Course reuse navigation
As a teacher
I can navigate to course reuse pages
Background:
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 homepage
And I navigate to "Course reuse" in current page administration
Then 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 homepage
And I navigate to "Course reuse" in current page administration
And 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 | This feature allows you to clear all user data and reset the 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 homepage
And I navigate to "Course reuse" in current page administration
And I follow "Copy course"
Then I should see "Create a copy of this course in any course category"
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| addblock.feature | File | 1.67 KB | 0777 |
|
| behat_theme_boost_behat_navigation.php | File | 4.25 KB | 0777 |
|
| blacklist.json | File | 483 B | 0777 |
|
| breadcrumb.feature | File | 4.39 KB | 0777 |
|
| category_role_assignment.feature | File | 1.74 KB | 0777 |
|
| contextmenu.feature | File | 1.06 KB | 0777 |
|
| course_reuse.feature | File | 2.05 KB | 0777 |
|
| formerrors.feature | File | 1.08 KB | 0777 |
|
| languagemenu.feature | File | 3.87 KB | 0777 |
|
| mycoursesblocks.feature | File | 1.42 KB | 0777 |
|
| primarynav.feature | File | 5.56 KB | 0777 |
|
| regionmainsettingsmenu.feature | File | 1.21 KB | 0777 |
|
| reset_tour.feature | File | 1.18 KB | 0777 |
|
| settingstabs.feature | File | 948 B | 0777 |
|
| theme_selector.feature | File | 1.4 KB | 0777 |
|
| tour_filter.feature | File | 2.01 KB | 0777 |
|
| welcome_to_moodle.feature | File | 1.54 KB | 0777 |
|