| Línea 8... |
Línea 8... |
| 8 |
| Course 1 | C1 | 0 |
|
8 |
| Course 1 | C1 | 0 |
|
| 9 |
And the following "activities" exist:
|
9 |
And the following "activities" exist:
|
| 10 |
| activity | name | course | idnumber |
|
10 |
| activity | name | course | idnumber |
|
| 11 |
| quiz | Test quiz | C1 | quiz1 |
|
11 |
| quiz | Test quiz | C1 | quiz1 |
|
| 12 |
And the following "question categories" exist:
|
12 |
And the following "question categories" exist:
|
| 13 |
| contextlevel | reference | name |
|
13 |
| contextlevel | reference | name |
|
| 14 |
| Course | C1 | Test questions |
|
14 |
| Activity module | quiz1 | Test questions |
|
| 15 |
And the following "questions" exist:
|
15 |
And the following "questions" exist:
|
| 16 |
| questioncategory | qtype | name | questiontext |
|
16 |
| questioncategory | qtype | name | questiontext |
|
| 17 |
| Test questions | truefalse | First question | Answer the first question |
|
17 |
| Test questions | truefalse | First question | Answer the first question |
|
| Línea 18... |
Línea 18... |
| 18 |
|
18 |
|
| Línea 21... |
Línea 21... |
| 21 |
Given I log in as "admin"
|
21 |
Given I log in as "admin"
|
| 22 |
When I navigate to "Plugins > Question bank plugins > Manage question bank plugins" in site administration
|
22 |
When I navigate to "Plugins > Question bank plugins > Manage question bank plugins" in site administration
|
| 23 |
And I should see "Question comments"
|
23 |
And I should see "Question comments"
|
| 24 |
And I click on "Disable" "link" in the "Question comments" "table_row"
|
24 |
And I click on "Disable" "link" in the "Question comments" "table_row"
|
| 25 |
And I am on the "Test quiz" "mod_quiz > question bank" page
|
25 |
And I am on the "Test quiz" "mod_quiz > question bank" page
|
| - |
|
26 |
And I apply question bank filter "Category" with value "Test questions"
|
| 26 |
Then "#categoryquestions .header.commentcount" "css_element" should not be visible
|
27 |
Then "#categoryquestions .header.commentcount" "css_element" should not be visible
|
| 27 |
And I navigate to "Plugins > Question bank plugins > Manage question bank plugins" in site administration
|
28 |
And I navigate to "Plugins > Question bank plugins > Manage question bank plugins" in site administration
|
| 28 |
And I click on "Enable" "link" in the "Question comments" "table_row"
|
29 |
And I click on "Enable" "link" in the "Question comments" "table_row"
|
| 29 |
And I am on the "Test quiz" "mod_quiz > question bank" page
|
30 |
And I am on the "Test quiz" "mod_quiz > question bank" page
|
| - |
|
31 |
And I apply question bank filter "Category" with value "Test questions"
|
| 30 |
And "#categoryquestions .header.commentcount" "css_element" should be visible
|
32 |
And "#categoryquestions .header.commentcount" "css_element" should be visible
|