Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 14... Línea 14...
14
      | Course 1 | C1        | 0        |
14
      | Course 1 | C1        | 0        |
15
    And the following "course enrolments" exist:
15
    And the following "course enrolments" exist:
16
      | user     | course | role           |
16
      | user     | course | role           |
17
      | teacher1 | C1     | editingteacher |
17
      | teacher1 | C1     | editingteacher |
18
      | student1 | C1     | student        |
18
      | student1 | C1     | student        |
-
 
19
    And the following "activities" exist:
-
 
20
      | activity   | name    | intro              | course | idnumber | grade |
-
 
21
      | quiz       | Quiz 1  | Quiz 1 description | C1     | quiz1    | 20    |
19
    And the following "question categories" exist:
22
    And the following "question categories" exist:
20
      | contextlevel | reference | name           |
23
      | contextlevel    | reference | name           |
21
      | Course       | C1        | Test questions |
24
      | Activity module | quiz1     | Test questions |
22
    And the following "questions" exist:
25
    And the following "questions" exist:
23
      | questioncategory | qtype       | name  | questiontext    | defaultmark |
26
      | questioncategory | qtype       | name  | questiontext    | defaultmark |
24
      | Test questions   | essay       | TF1   | First question  | 20          |
27
      | Test questions   | essay       | TF1   | First question  | 20          |
25
    And the following "activities" exist:
-
 
26
      | activity   | name   | intro              | course | idnumber | grade |
-
 
27
      | quiz       | Quiz 1 | Quiz 1 description | C1     | quiz1    | 20    |
-
 
-
 
28
 
28
    And quiz "Quiz 1" contains the following questions:
29
    And quiz "Quiz 1" contains the following questions:
29
      | question | page |
30
      | question | page |
30
      | TF1      | 1    |
31
      | TF1      | 1    |
31
    And the following "user private files" exist:
32
    And the following "user private files" exist:
32
      | user     | filepath                                |
33
      | user     | filepath                                |
Línea 60... Línea 61...
60
  Scenario: Comment on a response to an essay question attempt.
61
  Scenario: Comment on a response to an essay question attempt.
61
    When I log in as "teacher1"
62
    When I log in as "teacher1"
62
    And I am on the "Quiz 1 > student1 > Attempt 1" "mod_quiz > Attempt review" page
63
    And I am on the "Quiz 1 > student1 > Attempt 1" "mod_quiz > Attempt review" page
63
    And I follow "Make comment or override mark"
64
    And I follow "Make comment or override mark"
64
    And I switch to "commentquestion" window
65
    And I switch to "commentquestion" window
-
 
66
    And "Summary of attempt" "table" should exist
65
    And I set the field "Comment" to "Administrator's comment"
67
    And I set the field "Comment" to "Administrator's comment"
66
    And I select the "p" element in position "0" of the "Comment" TinyMCE editor
68
    And I select the "p" element in position "0" of the "Comment" TinyMCE editor
67
    And I click on the "Image" button for the "Comment" TinyMCE editor
69
    And I click on the "Image" button for the "Comment" TinyMCE editor
68
    And I click on "Browse repositories" "button" in the "Insert image" "dialogue"
70
    And I click on "Browse repositories" "button" in the "Insert image" "dialogue"
69
    And I click on "Private files" "link" in the ".fp-repo-area" "css_element"
71
    And I click on "Private files" "link" in the ".fp-repo-area" "css_element"