MDL-84341 qbank_history: Behat cleanup
This commit is contained in:
@@ -38,15 +38,15 @@ Feature: Use the qbank plugin manager page for version column
|
||||
Scenario: Sort the question versions
|
||||
Given I am on the "Test quiz" "mod_quiz > question bank" page logged in as "admin"
|
||||
And I apply question bank filter "Category" with value "Test questions"
|
||||
And I choose "History" action for "The Final Edit" in the question bank
|
||||
When I choose "History" action for "The Final Edit" in the question bank
|
||||
Then "Edit the Second" "checkbox" should appear before "The Final Edit" "checkbox"
|
||||
Then "First Edit" "checkbox" should appear before "Edit the Second" "checkbox"
|
||||
Then "First Question" "checkbox" should appear before "First Edit" "checkbox"
|
||||
And "First Edit" "checkbox" should appear before "Edit the Second" "checkbox"
|
||||
And "First Question" "checkbox" should appear before "First Edit" "checkbox"
|
||||
And I follow "Sort by Version ascending"
|
||||
Then "Edit the Second" "checkbox" should appear before "The Final Edit" "checkbox"
|
||||
Then "First Edit" "checkbox" should appear before "Edit the Second" "checkbox"
|
||||
Then "First Question" "checkbox" should appear before "First Edit" "checkbox"
|
||||
And "Edit the Second" "checkbox" should appear before "The Final Edit" "checkbox"
|
||||
And "First Edit" "checkbox" should appear before "Edit the Second" "checkbox"
|
||||
And "First Question" "checkbox" should appear before "First Edit" "checkbox"
|
||||
And I follow "Sort by Version descending"
|
||||
Then "The Final Edit" "checkbox" should appear before "Edit the Second" "checkbox"
|
||||
Then "Edit the Second" "checkbox" should appear before "First Edit" "checkbox"
|
||||
Then "First Edit" "checkbox" should appear before "First Question" "checkbox"
|
||||
And "The Final Edit" "checkbox" should appear before "Edit the Second" "checkbox"
|
||||
And "Edit the Second" "checkbox" should appear before "First Edit" "checkbox"
|
||||
And "First Edit" "checkbox" should appear before "First Question" "checkbox"
|
||||
|
||||
Reference in New Issue
Block a user