AutorÃa | Ultima modificación | Ver Log |
@editor @qtype @qtype_essay @javascriptFeature: Set editor values when the editor is not in a formAs an automated testerIn order to use a non-form editorI need to set valuesBackground:Given the following "users" exist:| username || teacher |And the following "courses" exist:| fullname | shortname | category || Course 1 | C1 | 0 |And the following "course enrolments" exist:| user | course | role || teacher | C1 | editingteacher |And the following "question categories" exist:| contextlevel | reference | name || Course | C1 | Test questions |And the following "questions" exist:| questioncategory | qtype | name | template || Test questions | essay | essay | editorfilepicker |Scenario: Preview an Essay question that uses the HTML editor with embedded files.When I am on the "essay" "core_question > preview" page logged in as teacherAnd I expand all fieldsetsAnd I set the following fields to these values:| Answer text Question 1 | <p>The <b>cat</b> sat on the mat. Then it ate a <b>frog</b>.</p> |And I press "Submit and finish"