芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/cepali/theme/classic/tests/behat/courseadministrationmenu.feature
@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