mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
Merge branch 'MDL-76169-master' of https://github.com/andrewnicols/moodle
This commit is contained in:
commit
add46e3112
42 changed files with 462 additions and 395 deletions
|
@ -21,20 +21,16 @@ Feature: Use the qbank plugin manager page for question usage
|
|||
And I navigate to "Plugins > Question bank plugins > Manage question bank plugins" in site administration
|
||||
And I should see "Question usage"
|
||||
When I click on "Disable" "link" in the "Question usage" "table_row"
|
||||
And I am on the "Test quiz" "quiz activity" page
|
||||
And I navigate to "Question bank" in current page administration
|
||||
And I am on the "Test quiz" "mod_quiz > question bank" page
|
||||
Then I should not see "Usage"
|
||||
And I navigate to "Plugins > Question bank plugins > Manage question bank plugins" in site administration
|
||||
And I click on "Enable" "link" in the "Question usage" "table_row"
|
||||
And I am on the "Test quiz" "quiz activity" page
|
||||
And I navigate to "Question bank" in current page administration
|
||||
And I am on the "Test quiz" "mod_quiz > question bank" page
|
||||
And I should see "Usage"
|
||||
|
||||
@javascript
|
||||
Scenario: Question usage modal should work without any usage data
|
||||
Given I log in as "admin"
|
||||
And I am on the "Test quiz" "quiz activity" page
|
||||
And I navigate to "Question bank" in current page administration
|
||||
And I am on the "Test quiz" "mod_quiz > question bank" page logged in as "admin"
|
||||
And I set the field "Select a category" to "Test questions"
|
||||
And I should see "Test questions"
|
||||
And I should see "0" on the usage column
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue