From 3e275e5b183a118f05d5646d80cc1d3cd030848a Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Thu, 22 Feb 2024 15:37:19 +0100 Subject: [PATCH] MOBILE-4350 quiz: Fix navigation tests for LMS 4.3 --- src/addons/mod/quiz/tests/behat/basic_usage.feature | 2 +- src/addons/mod/quiz/tests/behat/quiz_navigation.feature | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/addons/mod/quiz/tests/behat/basic_usage.feature b/src/addons/mod/quiz/tests/behat/basic_usage.feature index f946b71a1..af30c5a58 100755 --- a/src/addons/mod/quiz/tests/behat/basic_usage.feature +++ b/src/addons/mod/quiz/tests/behat/basic_usage.feature @@ -1,4 +1,4 @@ -@addon_mod_quiz @app @javascript @lms_from4.0 +@addon_mod_quiz @app @javascript @lms_from4.4 Feature: Attempt a quiz in app As a student In order to demonstrate what I know diff --git a/src/addons/mod/quiz/tests/behat/quiz_navigation.feature b/src/addons/mod/quiz/tests/behat/quiz_navigation.feature index a4b942375..ae1573b84 100644 --- a/src/addons/mod/quiz/tests/behat/quiz_navigation.feature +++ b/src/addons/mod/quiz/tests/behat/quiz_navigation.feature @@ -83,6 +83,7 @@ Feature: Navigate through a quiz in the app And I should find "Text of the first question" in the app And I should find "Text of the second question" in the app + @lms_from4.4 Scenario: Sequential navigation Given I entered the quiz activity "Quiz 2" on course "Course 1" as "student1" in the app And I press "Attempt quiz now" in the app