Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 45... Línea 45...
45
      | Receive a grade          | 1                  |
45
      | Receive a grade          | 1                  |
46
      | Any grade                | 1                  |
46
      | Any grade                | 1                  |
47
    And I press "Save and display"
47
    And I press "Save and display"
48
    And I log out
48
    And I log out
Línea 49... Línea 49...
49
 
49
 
50
  Scenario: View automatic completion items as a teacher
50
  Scenario: Database activity displays completion conditions to teachers
51
#   We add an entry to let the user change to a different view.
51
#   We add an entry to let the user change to a different view.
52
    Given the following "mod_data > entries" exist:
52
    Given the following "mod_data > entries" exist:
53
      | database | user     | Instrument types |
53
      | database | user     | Instrument types |
54
      | mh1      | teacher1 | Drums            |
54
      | mh1      | teacher1 | Drums            |
Línea 59... Línea 59...
59
    And I select "Single view" from the "jump" singleselect
59
    And I select "Single view" from the "jump" singleselect
60
    And "Music history" should have the "View" completion condition
60
    And "Music history" should have the "View" completion condition
61
    And "Music history" should have the "Make entries: 2" completion condition
61
    And "Music history" should have the "Make entries: 2" completion condition
62
    And "Music history" should have the "Receive a grade" completion condition
62
    And "Music history" should have the "Receive a grade" completion condition
Línea 63... Línea 63...
63
 
63
 
64
  Scenario: View automatic completion items as a student
64
  Scenario: A student can complete an database activity by achieving a passing grade
65
    Given I am on the "Music history" "data activity" page logged in as student1
65
    Given I am on the "Music history" "data activity" page logged in as student1
66
    And the "View" completion condition of "Music history" is displayed as "done"
66
    And the "View" completion condition of "Music history" is displayed as "done"
67
    And the "Make entries: 2" completion condition of "Music history" is displayed as "todo"
67
    And the "Make entries: 2" completion condition of "Music history" is displayed as "todo"
68
    And the "Receive a grade" completion condition of "Music history" is displayed as "todo"
68
    And the "Receive a grade" completion condition of "Music history" is displayed as "todo"
Línea 95... Línea 95...
95
    And I log out
95
    And I log out
96
    When I am on the "Course 1" course page logged in as teacher1
96
    When I am on the "Course 1" course page logged in as teacher1
97
    And "Vinnie Student1" user has completed "Music history" activity
97
    And "Vinnie Student1" user has completed "Music history" activity
Línea 98... Línea 98...
98
 
98
 
99
  @javascript
99
  @javascript
100
  Scenario: Use manual completion
100
  Scenario: A student can manually mark the data activity as done but a teacher cannot
101
    Given I am on the "Music history" "data activity editing" page logged in as teacher1
101
    Given I am on the "Music history" "data activity editing" page logged in as teacher1
102
    And I expand all fieldsets
102
    And I expand all fieldsets
103
    And I set the field "Students must manually mark the activity as done" to "1"
103
    And I set the field "Students must manually mark the activity as done" to "1"
104
    And I press "Save and display"
104
    And I press "Save and display"