AutorÃa | Ultima modificación | Ver Log |
@qtype @qtype_truefalseFeature: Test creating a True/False questionAs a teacherIn order to test my studentsI need to be able to create a True/False questionBackground: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 |Scenario: Create a True/False question with Correct answer as FalseWhen I am on the "Course 1" "core_question > course question bank" page logged in as teacherAnd I add a "True/False" question filling the form with:| Question name | true-false-001 || Question text | Manchester is the capital city of England. || Default mark | 1 || General feedback | London is the capital city of England. || Correct answer | False || Feedback for the response 'True'. | Well done! || Feedback for the response 'False'. | Read more about England. |Then I should see "true-false-001"@javascriptScenario: Create a True/False question with Correct answer as TrueWhen I am on the "Course 1" "core_question > course question bank" page logged in as teacherAnd I add a "True/False" question filling the form with:| Question name | true-false-002 || Question text | London is the capital city of England. || Default mark | 1 || General feedback | London is the capital city of England. || Correct answer | True || Show standard instructions | Yes || Feedback for the response 'True'. | Well done! || Feedback for the response 'False'. | Read more about England. |Then I should see "true-false-002"# Checking that the next new question form displays user preferences settings.And I press "Create a new question ..."And I set the field "True/False" to "1"And I click on "Add" "button" in the "Choose a question type to add" "dialogue"And the following fields match these values:| Show standard instructions | Yes |