From c0f24543fc0c6051265efdaee1c2d2a6774c709b Mon Sep 17 00:00:00 2001 From: Huong Nguyen Date: Tue, 18 Feb 2025 20:39:50 +0700 Subject: [PATCH] MDL-84341 qbank_history: Behat cleanup --- .../behat/question_version_column.feature | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/question/bank/history/tests/behat/question_version_column.feature b/question/bank/history/tests/behat/question_version_column.feature index 7c8f828463d..4c2958d0572 100644 --- a/question/bank/history/tests/behat/question_version_column.feature +++ b/question/bank/history/tests/behat/question_version_column.feature @@ -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"