Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 16... Línea 16...
16
      | teacher | C1     | editingteacher |
16
      | teacher | C1     | editingteacher |
17
    And the following "question categories" exist:
17
    And the following "question categories" exist:
18
      | contextlevel | reference | name           |
18
      | contextlevel | reference | name           |
19
      | Course       | C1        | Test questions |
19
      | Course       | C1        | Test questions |
20
    And the following "questions" exist:
20
    And the following "questions" exist:
21
      | questioncategory | qtype         | name            | template |
21
      | questioncategory | qtype         | name                     | template |
22
      | Test questions   | ddimageortext | Drag onto image | xsection |
22
      | Test questions   | ddimageortext | Drag onto image          | xsection |
-
 
23
      | Test questions   | ddimageortext | Drag to mathjax equation | mathjax  |
Línea 23... Línea 24...
23
 
24
 
24
  @javascript @_bug_phantomjs
25
  @javascript @_bug_phantomjs
25
  Scenario: Preview a question using the mouse.
26
  Scenario: Preview a question using the mouse.
26
    When I am on the "Drag onto image" "core_question > preview" page logged in as teacher
27
    When I am on the "Drag onto image" "core_question > preview" page logged in as teacher
Línea 51... Línea 52...
51
    And I type " " on place "7" in the drag and drop onto image question
52
    And I type " " on place "7" in the drag and drop onto image question
52
    And I type " " on place "8" in the drag and drop onto image question
53
    And I type " " on place "8" in the drag and drop onto image question
53
    And I press "Submit and finish"
54
    And I press "Submit and finish"
54
    Then the state of "Identify the features" question is shown as "Correct"
55
    Then the state of "Identify the features" question is shown as "Correct"
55
    And I should see "Mark 1.00 out of 1.00"
56
    And I should see "Mark 1.00 out of 1.00"
-
 
57
 
-
 
58
  @javascript
-
 
59
  Scenario: Preview a drag-drop into image question with mathjax question.
-
 
60
    Given the "mathjaxloader" filter is "on"
-
 
61
    And the "mathjaxloader" filter applies to "content and headings"
-
 
62
    And I am on the "Drag to mathjax equation" "core_question > preview" page logged in as teacher
-
 
63
    And I press "Fill in correct responses"
-
 
64
    When I press "Submit and finish"
-
 
65
    Then ".filter_mathjaxloader_equation" "css_element" should exist in the ".draghome" "css_element"