Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 26... Línea 26...
26
      | quiz       | Quiz 1 | Quiz 1 description | C1     | quiz1    | interactive        |
26
      | quiz       | Quiz 1 | Quiz 1 description | C1     | quiz1    | interactive        |
27
    And the following "questions" exist:
27
    And the following "questions" exist:
28
      | questioncategory | qtype     | name | template |
28
      | questioncategory | qtype     | name | template |
29
      | Test questions   | numerical | NQ   | pi3tries |
29
      | Test questions   | numerical | NQ   | pi3tries |
30
    And quiz "Quiz 1" contains the following questions:
30
    And quiz "Quiz 1" contains the following questions:
31
      | question | page | maxmark |
31
      | question | page | maxmark | displaynumber |
32
      | NQ       | 1    | 3.0     |
32
      | NQ       | 1    | 3.0     | 1a            |
Línea 33... Línea 33...
33
 
33
 
34
  @javascript
34
  @javascript
35
  Scenario: Report works when there are no attempts
35
  Scenario: Report works when there are no attempts
36
    When I am on the "Quiz 1" "mod_quiz > Responses report" page logged in as teacher
36
    When I am on the "Quiz 1" "mod_quiz > Responses report" page logged in as teacher
Línea 56... Línea 56...
56
    Then I should see "Attempts: 1"
56
    Then I should see "Attempts: 1"
57
    And I should see "Student One"
57
    And I should see "Student One"
58
    And I should not see "Student Two"
58
    And I should not see "Student Two"
59
    And I set the field "Attempts from" to "enrolled users who have, or have not, attempted the quiz"
59
    And I set the field "Attempts from" to "enrolled users who have, or have not, attempted the quiz"
60
    And I set the field "Which tries" to "All tries"
60
    And I set the field "Which tries" to "All tries"
-
 
61
    And I should see "Response 1a"
61
    And I press "Show report"
62
    And I press "Show report"
62
    And "Student OneReview attempt" row "Response 1Sort by Response 1 Ascending" column of "responses" table should contain "1.0"
63
    And "Student OneReview attempt" row "Response 1aSort by Response 1a Ascending" column of "responses" table should contain "1.0"
63
    And "Student OneReview attempt" row "Status" column of "responses" table should contain ""
64
    And "Student OneReview attempt" row "Status" column of "responses" table should contain ""
64
    And "Finished" row "Grade/100.00Sort by Grade/100.00 Ascending" column of "responses" table should contain "33.33"
65
    And "Finished" row "Grade/100.00Sort by Grade/100.00 Ascending" column of "responses" table should contain "33.33"
65
    And "Finished" row "Response 1Sort by Response 1 Ascending" column of "responses" table should contain "3.14"
66
    And "Finished" row "Response 1aSort by Response 1a Ascending" column of "responses" table should contain "3.14"
66
    And "Student Two" row "Status" column of "responses" table should contain "-"
67
    And "Student Two" row "Status" column of "responses" table should contain "-"
67
    And "Student Two" row "Response 1Sort by Response 1 Ascending" column of "responses" table should contain "-"
68
    And "Student Two" row "Response 1aSort by Response 1a Ascending" column of "responses" table should contain "-"
Línea 68... Línea 69...
68
 
69
 
69
  @javascript
70
  @javascript
70
  Scenario: Report does not allow strange combinations of options
71
  Scenario: Report does not allow strange combinations of options
71
    Given I am on the "Quiz 1" "mod_quiz > Responses report" page logged in as teacher
72
    Given I am on the "Quiz 1" "mod_quiz > Responses report" page logged in as teacher