From bb4736a5b7e5bdafd87dde454af453673d678eb1 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Tue, 7 May 2024 09:19:08 +0200 Subject: [PATCH] MOBILE-4470 behat: Fix tests for 4.1- --- src/addons/mod/quiz/tests/behat/attempts_list.feature | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/addons/mod/quiz/tests/behat/attempts_list.feature b/src/addons/mod/quiz/tests/behat/attempts_list.feature index 8082926e5..dea9c5de4 100644 --- a/src/addons/mod/quiz/tests/behat/attempts_list.feature +++ b/src/addons/mod/quiz/tests/behat/attempts_list.feature @@ -2,7 +2,8 @@ Feature: View list of attempts in the app Background: - Given the following "courses" exist: + Given the Moodle site is compatible with this feature + And the following "courses" exist: | fullname | shortname | | Course 1 | C1 | And the following "users" exist: @@ -45,6 +46,7 @@ Feature: View list of attempts in the app And I should find "1/1" within "Marks" "ion-item" in the app And I should be able to press "Review" in the app + @lms_from4.2 Scenario: View abandoned attempts Given the attempt at "Quiz 1" by "student1" was never submitted And I entered the quiz activity "Quiz 1" on course "Course 1" as "student1" in the app