And the following config values are set as admin:
| enablecompletion | 1 |
And I log in as "admin"
- And I am on homepage
+ And I am on site homepage
And I follow "Course 1"
And I turn editing mode on
And I add a "Page" to section "1" and I fill the form with:
| student1 | C1 | student |
| student2 | C1 | student |
And I log in as "admin"
+ And I am on site homepage
And I follow "Course 1"
And I turn editing mode on
When I set the following administration settings values:
| Front page items when logged in | List of categories |
| Maximum category depth | 2 |
- And I am on homepage
+ And I am on site homepage
Then I should see "Category 1" in the "region-main" "region"
And I should see "Category 1 child" in the "region-main" "region"
And I should not see "Category 1 child child" in the "region-main" "region"
When I set the following administration settings values:
| Front page items when logged in | Combo list |
| Maximum category depth | 2 |
- And I am on homepage
+ And I am on site homepage
Then I should see "Category 1" in the "region-main" "region"
And I should see "Category 1 child" in the "region-main" "region"
And I should not see "Category 1 child child" in the "region-main" "region"
| fullname | shortname | category | format | coursedisplay | numsections |
| Course 1 | C1 | 0 | <courseformat> | 1 | 3 |
And I log in as "admin"
+ And I am on site homepage
And I follow "Course 1"
Then I click on <section2> "link" in the <section2> "section"
And I follow "C1"
| fullname | shortname | category | format | coursedisplay | numsections |
| Course 1 | C1 | 0 | <courseformat> | 1 | 3 |
And I log in as "admin"
+ And I am on site homepage
And I follow "Course 1"
Then I click on <section2> "link" in the <section2> "section"
And I follow "C1"
Given I log in as "admin"
And I set the following system permissions of "Teacher" role:
| mod/chat:addinstance | Prohibit |
- And I am on homepage
+ And I am on site homepage
And I follow "Course 1"
And I expand "Users" node
And I follow "Permissions"