AutorÃa | Ultima modificación | Ver Log |
@javascript @theme_classicFeature: Page administration menuTo navigate in classic theme I need to use the page administration menuBackground: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 || student1 | Student | 1 | student1@example.com |And the following "course enrolments" exist:| user | course | role || teacher1 | C1 | editingteacher || student1 | C1 | student |And the following "activities" exist:| activity | name | intro | course | idnumber | option || choice | Choice name | Test choice description | C1 | choice1 | Option 1, Option 2, Option 3 |Scenario: Teacher can access activity administration menusAnd I log in as "teacher1"And I am on "Course 1" course homepageAnd I follow "Choice name"And I should see the page administration menuAnd "Settings" "link" should exist in current page administrationAnd I navigate to "Settings" in current page administrationAnd I should see "Edit settings"And I navigate to course participantsAnd I should see the page administration menuAnd I am on the "Course 1" "Enrolment methods" pageAnd I should see "Enrolment methods"And I log outScenario: Student cannot access course and activity administration menusAnd I log in as "student1"And I am on "Course 1" course homepageAnd I should not see the page administration menuAnd I follow "Choice name"And I should not see the page administration menuAnd I log outScenario: Administrator can access site administration menus and sub-menusAnd I log in as "admin"And I should see the page administration menuAnd I navigate to "Advanced features" in site administrationAnd I should see "Enable comments"And I navigate to "Users > Accounts > Add a new user" in site administrationAnd I should see "New password"And I log out