Rev 1 | AutorÃa | Comparar con el anterior | Ultima modificación | Ver Log |
@qbank @qbank_previewquestionFeature: A teacher can export a question as XML from the preview question screenTo help reuse questionsAs a teacherI can easily export the question I am previewingBackground:Given the following "users" exist:| username || teacher |And the following "courses" exist:| fullname | shortname || Course 1 | C1 |And the following "course enrolments" exist:| user | course | role || teacher | C1 | editingteacher |And the following "activities" exist:| activity | name | course | idnumber || qbank | Qbank 1 | C1 | qbank1 |And the following "question categories" exist:| contextlevel | reference | name || Activity module | qbank1 | Test questions |And the following "questions" exist:| questioncategory | qtype | name || Test questions | numerical | Test question to be previewed |Scenario: Question preview shows the question and other informationWhen I am on the "Test question to be previewed" "core_question > preview" page logged in as teacherThen the state of "What is pi to two d.p.?" question is shown as "Not yet answered"And "Download this question in Moodle XML format" "link" should exist