@ou @ou_vle @qtype @qtype_ddimageortext
-Feature: Test all the basic functionality of this question type
- As a manager/teacher i should be able to import questions from other courses to this course
+Feature: Test importing drag and drop onto image questions
+ As a teacher
+ In order to reuse drag and drop onto image questions
+ I need to import them
Background:
- Given the following "users" exist:
+ Given the following "users" exist:
| username | firstname | lastname | email |
- | teacher1 | T1 | Teacher1 | teacher1@moodle.com |
- | manager1 | M1 | Manager1 | manager11@moodle.com |
+ | teacher1 | T1 | Teacher1 | teacher1@example.com |
And the following "courses" exist:
| fullname | shortname | category |
| Course 1 | C1 | 0 |
And the following "course enrolments" exist:
| user | course | role |
| teacher1 | C1 | editingteacher |
- | manager1 | C1 | manager |
And I log in as "teacher1"
And I follow "Course 1"
- @javascript
- Scenario: import a variable numeric sets question.
+ @javascript @_file_upload
+ Scenario: import drag and drop onto image question.
When I navigate to "Import" node in "Course administration > Question bank"
And I set the field "id_format_xml" to "1"
And I upload "question/type/ddimageortext/tests/fixtures/testquestion.moodle.xml" file to "Import" filemanager