1 |
efrain |
1 |
@report @report_participation
|
|
|
2 |
Feature: In a course administration page, navigate through report page, test for course participation page
|
|
|
3 |
In order to navigate through report page
|
|
|
4 |
As an admin
|
|
|
5 |
Go to course administration -> Reports -> Course participation
|
|
|
6 |
|
|
|
7 |
Background:
|
|
|
8 |
Given the following "courses" exist:
|
|
|
9 |
| fullname | shortname | category | groupmode |
|
|
|
10 |
| Course 1 | C1 | 0 | 1 |
|
|
|
11 |
And the following "users" exist:
|
|
|
12 |
| username | firstname | lastname | email |
|
|
|
13 |
| student1 | Student | 1 | student1@example.com |
|
|
|
14 |
And the following "course enrolments" exist:
|
|
|
15 |
| user | course | role |
|
|
|
16 |
| admin | C1 | editingteacher |
|
|
|
17 |
| student1 | C1 | student |
|
|
|
18 |
|
|
|
19 |
Scenario: Selector should be available in the course participation page
|
|
|
20 |
Given I log in as "admin"
|
|
|
21 |
And I am on "Course 1" course homepage
|
|
|
22 |
When I navigate to "Reports" in current page administration
|
|
|
23 |
And I click on "Course participation" "link"
|
|
|
24 |
Then "Report" "field" should exist in the "tertiary-navigation" "region"
|
|
|
25 |
And I should see "Course participation" in the "tertiary-navigation" "region"
|