From de2c53b712e5d3f9ece0f5cb7c144cdf5bc65c32 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Wed, 26 Apr 2023 13:46:46 +0200 Subject: [PATCH] MOBILE-4270 behat: Skip excluded tests before 4.0 --- src/addons/mod/bigbluebuttonbn/tests/behat/basic_usage.feature | 3 ++- src/addons/mod/bigbluebuttonbn/tests/behat/groups.feature | 3 ++- src/core/features/course/tests/behat/basic_usage.feature | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/addons/mod/bigbluebuttonbn/tests/behat/basic_usage.feature b/src/addons/mod/bigbluebuttonbn/tests/behat/basic_usage.feature index 92b32be1c..502e4b8e1 100755 --- a/src/addons/mod/bigbluebuttonbn/tests/behat/basic_usage.feature +++ b/src/addons/mod/bigbluebuttonbn/tests/behat/basic_usage.feature @@ -5,7 +5,8 @@ Feature: Test basic usage of BBB activity in app I need basic BBB functionality to work Background: - Given I enable "bigbluebuttonbn" "mod" plugin + Given the Moodle site is compatible with this feature + And I enable "bigbluebuttonbn" "mod" plugin And the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | teacher | teacher1@example.com | diff --git a/src/addons/mod/bigbluebuttonbn/tests/behat/groups.feature b/src/addons/mod/bigbluebuttonbn/tests/behat/groups.feature index 80e41fbaa..84204bb6b 100755 --- a/src/addons/mod/bigbluebuttonbn/tests/behat/groups.feature +++ b/src/addons/mod/bigbluebuttonbn/tests/behat/groups.feature @@ -2,7 +2,8 @@ Feature: Test usage of BBB activity with groups in app Background: - Given I enable "bigbluebuttonbn" "mod" plugin + Given the Moodle site is compatible with this feature + And I enable "bigbluebuttonbn" "mod" plugin And the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | teacher | teacher1@example.com | diff --git a/src/core/features/course/tests/behat/basic_usage.feature b/src/core/features/course/tests/behat/basic_usage.feature index af1c73e2d..979edbbe9 100755 --- a/src/core/features/course/tests/behat/basic_usage.feature +++ b/src/core/features/course/tests/behat/basic_usage.feature @@ -415,7 +415,8 @@ Feature: Test basic usage of one course in app @lms_from4.0 Scenario: Self enrol - Given I log in as "teacher1" + Given the Moodle site is compatible with this feature + And I log in as "teacher1" And I add "Self enrolment" enrolment method in "Course 1" with: | Custom instance name | Student self enrolment | And I entered the app as "student2"