Proyectos de Subversion Moodle

Rev

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

Rev 1 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
      | teacher  | C1     | editingteacher |
17
      | teacher  | C1     | editingteacher |
18
      | student1 | C1     | student        |
18
      | student1 | C1     | student        |
-
 
19
    And the following "activities" exist:
-
 
20
      | activity | name    | intro              | course | idnumber |
-
 
21
      | qbank    | Qbank 1 | Question bank 1    | C1     | qbank1   |
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 | qbank1    | Test questions |
22
    And the following "questions" exist:
25
    And the following "questions" exist:
23
      | questioncategory | qtype     | name | questiontext    |
26
      | questioncategory | qtype     | name | questiontext    |
24
      | Test questions   | truefalse | TF1  | First question  |
27
      | Test questions   | truefalse | TF1  | First question  |
25
    And the following "activities" exist:
28
    And the following "activities" exist:
26
      | activity | name   | intro       | course | idnumber | maxmarksduring | marksduring | maxmarksimmediately | marksimmediately | preferredbehaviour |
29
      | activity | name   | intro       | course | idnumber | maxmarksduring | marksduring | maxmarksimmediately | marksimmediately | preferredbehaviour |
Línea 60... Línea 63...
60
    And I click on "Submit all and finish" "button" in the "Submit all your answers and finish?" "dialogue"
63
    And I click on "Submit all and finish" "button" in the "Submit all your answers and finish?" "dialogue"
61
    And I should see "Finished" in the "Status" "table_row"
64
    And I should see "Finished" in the "Status" "table_row"
62
    And I should see "Question 1" in the ".info" "css_element"
65
    And I should see "Question 1" in the ".info" "css_element"
63
    And I should see "Correct" in the ".info" "css_element"
66
    And I should see "Correct" in the ".info" "css_element"
64
    And I should see "Mark 2.00 out of 2.00" in the ".info" "css_element"
67
    And I should see "Mark 2.00 out of 2.00" in the ".info" "css_element"
-
 
68
 
-
 
69
    # Check the page that lists all the quizzes in a course.
-
 
70
    And I am on the "C1" "quiz index" page
-
 
71
    And I should see "Quiz 1"
-
 
72
    And I should see "Quiz 2"