[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @qtype @qtype_truefalse 2 Feature: Test editing a True/False question 3 As a teacher 4 In order to be able to update my True/False question 5 I need to edit them 6 7 Background: 8 Given the following "users" exist: 9 | username | firstname | lastname | email | 10 | teacher1 | T1 | Teacher1 | teacher1@example.com | 11 And the following "courses" exist: 12 | fullname | shortname | category | 13 | Course 1 | C1 | 0 | 14 And the following "course enrolments" exist: 15 | user | course | role | 16 | teacher1 | C1 | editingteacher | 17 And the following "question categories" exist: 18 | contextlevel | reference | name | 19 | Course | C1 | Test questions | 20 And the following "questions" exist: 21 | questioncategory | qtype | name | template | 22 | Test questions | truefalse | true-false-001 | true | 23 And I log in as "teacher1" 24 And I follow "Course 1" 25 And I navigate to "Question bank" node in "Course administration" 26 27 Scenario: Edit a True/False question 28 When I click on "Edit" "link" in the "true-false-001" "table_row" 29 And I set the following fields to these values: 30 | Question name | | 31 And I press "id_submitbutton" 32 Then I should see "You must supply a value here." 33 When I set the following fields to these values: 34 | Question name | Edited true-false-001 name | 35 And I press "id_submitbutton" 36 Then I should see "Edited true-false-001 name"
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |