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 | ddwtos | Drag to text | fox |
|
22 |
| Test questions | ddwtos | Drag to text | fox |
|
23 |
| Test questions | ddwtos | Drag to text infinite | infinite |
|
23 |
| Test questions | ddwtos | Drag to text infinite | infinite |
|
- |
|
24 |
| Test questions | ddwtos | Drag to mathjax equation | mathjax |
|
Línea 24... |
Línea 25... |
24 |
|
25 |
|
25 |
@javascript @_bug_phantomjs
|
26 |
@javascript @_bug_phantomjs
|
26 |
Scenario: Preview a question using the mouse.
|
27 |
Scenario: Preview a question using the mouse.
|
27 |
When I am on the "Drag to text" "core_question > preview" page logged in as teacher
|
28 |
When I am on the "Drag to text" "core_question > preview" page logged in as teacher
|
Línea 76... |
Línea 77... |
76 |
When I am on the "Drag to text infinite" "core_question > preview" page logged in as teacher
|
77 |
When I am on the "Drag to text infinite" "core_question > preview" page logged in as teacher
|
77 |
And I press "Fill in correct responses"
|
78 |
And I press "Fill in correct responses"
|
78 |
Then I should see "Option1" in the home area of drag and drop into text question
|
79 |
Then I should see "Option1" in the home area of drag and drop into text question
|
79 |
And I should see "Option2" in the home area of drag and drop into text question
|
80 |
And I should see "Option2" in the home area of drag and drop into text question
|
80 |
And I should see "Option3" in the home area of drag and drop into text question
|
81 |
And I should see "Option3" in the home area of drag and drop into text question
|
- |
|
82 |
|
- |
|
83 |
@javascript
|
- |
|
84 |
Scenario: Preview a drag-drop into text question with mathjax question.
|
- |
|
85 |
Given the "mathjaxloader" filter is "on"
|
- |
|
86 |
And the "mathjaxloader" filter applies to "content and headings"
|
- |
|
87 |
And I am on the "Drag to mathjax equation" "core_question > preview" page logged in as teacher
|
- |
|
88 |
And I press "Fill in correct responses"
|
- |
|
89 |
When I press "Submit and finish"
|
- |
|
90 |
Then ".filter_mathjaxloader_equation" "css_element" should exist in the ".draghome" "css_element"
|