Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@tool @tool_monitor
2
Feature: In a course administration page, navigate through report page, test for course event monitor page
3
  In order to navigate through report page
4
  As an admin
5
  Go to course administration -> reports -> Event monitoring rules
6
 
7
  Background:
8
    Given the following "courses" exist:
9
      | fullname | shortname | category | groupmode | enablecompletion |
10
      | Course 1 | C1 | 0 | 1 | 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
  @javascript
20
  Scenario: Selector should be available in the course event monitoring page
21
    Given I log in as "admin"
22
    And I navigate to "Reports > Event monitoring rules" in site administration
23
    And I click on "Enable" "link"
24
    And I am on "Course 1" course homepage
25
    When I navigate to "Reports" in current page administration
26
    And I click on "Event monitoring rules" "link"
27
    Then "Report type" "field" should exist
28
    And I should see "Event monitoring rules" in the "Report type" "field"