Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@core @core_grades @gradereport_singleview @javascript
2
Feature: Given we land on the index page, select what type of report we wish to view.
3
  Background:
4
    Given the following "courses" exist:
5
      | fullname | shortname | category | groupmode |
6
      | Course 1 | C1        | 0        | 1         |
7
    And the following "users" exist:
8
      | username  | firstname | lastname  | email                 | idnumber  |
9
      | teacher1  | Teacher   | 1         | teacher1@example.com  | t1        |
10
      | student1  | Student   | 1         | student1@example.com  | s1        |
11
    And the following "course enrolments" exist:
12
      | user      | course | role           |
13
      | teacher1  | C1     | editingteacher |
14
      | student1  | C1     | student        |
15
    And the following "activities" exist:
16
      | activity | course | idnumber | name                |
17
      | assign   | C1     | a1       | Test assignment one |
18
 
19
  Scenario: I switch between the two report types within singleview
20
    Given I am on the "Course 1" "grades > Single view > View" page logged in as "teacher1"
21
    And I click on "Grade items" "link" in the ".page-toggler" "css_element"
22
    And "Search users" "field" should not exist
23
    And I confirm "Test assignment one" in "grade" search within the gradebook widget exists
24
    When I click on "Users" "link" in the ".page-toggler" "css_element"
25
    Then "Search users" "field" should exist
26
    And "Select a grade item" "combobox" should not exist