@javascript
Scenario: A question not used anywhere can really be deleted
When I click on "Delete" "link" in the "Test question to be deleted" "table_row"
- And I press "Continue"
+ And I press "Delete"
And I click on "Also show old questions" "checkbox"
Then I should not see "Test question to be deleted"
| Question text | Write about whatever you want |
And I navigate to "Questions" node in "Course administration > Question bank"
When I click on "Delete" "link" in the "Test used question to be deleted" "table_row"
- And I press "Continue"
+ And I press "Delete"
Then I should not see "Test used question to be deleted"
And I click on "Also show old questions" "checkbox"
And I should see "Test used question to be deleted"