| student1 | C1 | student |
| student2 | C1 | student |
When I log in as "admin"
+ And I am on site homepage
And I follow "Course 1"
And I turn editing mode on
And I add a "Forum" to section "1" and I fill the form with:
And I follow "Book name"
And I log out
And I log in as "admin"
+ And I am on site homepage
And I follow "Course 1"
When I navigate to "Activity report" node in "Course administration > Reports"
Then I should see "2" in the "//tbody/tr[(position() mod 2)=1]/child::td[contains(concat(' ', normalize-space(@class),' '),' numviews ')]" "xpath_element"
Given I navigate to "Manage log stores" node in "Site administration > Plugins > Logging"
And "Enable" "link" should exist in the "Legacy log" "table_row"
And I click on "Disable" "link" in the "Standard log" "table_row"
- And I follow "Home"
+ And I am on site homepage
And I follow "Course 1"
When I navigate to "Activity report" node in "Course administration > Reports"
Then I should see "No log reader enabled"
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
When I log in as "admin"
+ And I am on site homepage
And I follow "Course 1"
And I turn editing mode on
And I add a "Folder" to section "1" and I fill the form with:
And I follow "URL name"
And I follow "URL name"
And I follow "URL name"
- When I navigate to "Outline report" node in "My profile settings > Activity reports"
+ And I click on "Student 1" "link"
+ And I follow "My profile" in the open menu
+ And I follow "Course 1"
+ When I follow "Outline report"
Then I should see "4 views" in the "Folder name" "table_row"
And I should see "3 views" in the "URL name" "table_row"
- And I navigate to "Complete report" node in "My profile settings > Activity reports"
+ And I click on "Student 1" "link"
+ And I follow "My profile" in the open menu
+ And I follow "Course 1"
+ When I follow "Complete report"
And I should see "4 views"
And I should see "3 views"
And I follow "URL name"
And I follow "URL name"
And I follow "URL name"
- When I navigate to "Outline report" node in "My profile settings > Activity reports"
+ And I follow "My profile" in the user menu
+ And I follow "Course 1"
+ When I follow "Outline report"
Then I should see "4 views" in the "Folder name" "table_row"
And I should see "3 views" in the "URL name" "table_row"
- And I navigate to "Complete report" node in "My profile settings > Activity reports"
+ And I follow "My profile" in the user menu
+ And I follow "Course 1"
+ When I follow "Complete report"
And I should see "4 views"
And I should see "3 views"
And I follow "URL name"
And I follow "URL name"
And I follow "URL name"
- When I navigate to "Outline report" node in "My profile settings > Activity reports"
+ And I follow "My profile" in the user menu
+ And I follow "Course 1"
+ When I follow "Outline report"
Then I should see "4 views" in the "Folder name" "table_row"
And I should see "3 views" in the "URL name" "table_row"
- And I navigate to "Complete report" node in "My profile settings > Activity reports"
+ And I follow "My profile" in the user menu
+ And I follow "Course 1"
+ When I follow "Complete report"
And I should see "4 views"
And I should see "3 views"