1 |
efrain |
1 |
@qtype @qtype_description
|
|
|
2 |
Feature: Test creating a Description question
|
|
|
3 |
As a teacher
|
|
|
4 |
In order to test my students
|
|
|
5 |
I need to be able to create a Description question
|
|
|
6 |
|
|
|
7 |
Background:
|
|
|
8 |
Given the following "users" exist:
|
|
|
9 |
| username |
|
|
|
10 |
| teacher |
|
|
|
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 |
| teacher | C1 | editingteacher |
|
|
|
17 |
|
|
|
18 |
Scenario: Create a Description question with Correct answer as False
|
|
|
19 |
When I am on the "Course 1" "core_question > course question bank" page logged in as teacher
|
|
|
20 |
And I add a "Description" question filling the form with:
|
|
|
21 |
| Question name | description-001 |
|
|
|
22 |
| Question text | Instructions about the following questions. |
|
|
|
23 |
| General feedback | Why actually the field 'General feedback' used in this qytype? |
|
|
|
24 |
Then I should see "description-001"
|