From ccb8edbff515e13a344417b4610c392d851431ff Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Wed, 20 Dec 2017 13:36:52 +1300 Subject: [PATCH] MDL-50666 behat: Make feature names unique * We need to have unique feature names for our Behat tests. * I also removed the custom Behat tag @role_visibility as we only allow Behat tags with the component name in Frankenstyle format. --- badges/tests/behat/role_visibility.feature | 6 +++--- enrol/tests/behat/role_visibility.feature | 6 +++--- group/tests/behat/role_visibility.feature | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/badges/tests/behat/role_visibility.feature b/badges/tests/behat/role_visibility.feature index 5bb0a73543b..bb3a49da943 100644 --- a/badges/tests/behat/role_visibility.feature +++ b/badges/tests/behat/role_visibility.feature @@ -1,5 +1,5 @@ -@core @core_badges @role_visibility -Feature: Test role visibility +@core @core_badges +Feature: Test role visibility for the badge administration page In order to control access As an admin I need to control which roles can see each other @@ -48,4 +48,4 @@ Feature: Test role visibility And I set the following fields to these values: | Add badge criteria | Manual issue by role | Then I should see "Teacher" - And I should not see "Manager" \ No newline at end of file + And I should not see "Manager" diff --git a/enrol/tests/behat/role_visibility.feature b/enrol/tests/behat/role_visibility.feature index 8a482b7443c..7c8d911e971 100644 --- a/enrol/tests/behat/role_visibility.feature +++ b/enrol/tests/behat/role_visibility.feature @@ -1,5 +1,5 @@ -@core @core_enrol @role_visibility -Feature: Test role visibility +@core @core_enrol +Feature: Test role visibility for the participants page In order to control access As an admin I need to control which roles can see each other @@ -35,4 +35,4 @@ Feature: Test role visibility Then "Learner 1" row "Roles" column of "participants" table should contain "Student" And "Teacher 1" row "Roles" column of "participants" table should contain "Teacher" And "Manager 1" row "Roles" column of "participants" table should not contain "Manager" - And "Manager 1" row "Roles" column of "participants" table should contain "No roles" \ No newline at end of file + And "Manager 1" row "Roles" column of "participants" table should contain "No roles" diff --git a/group/tests/behat/role_visibility.feature b/group/tests/behat/role_visibility.feature index 4d2bd1fc43e..37b283bba6d 100644 --- a/group/tests/behat/role_visibility.feature +++ b/group/tests/behat/role_visibility.feature @@ -1,5 +1,5 @@ -@core @core_group @role_visibility -Feature: Test role visibility +@core @core_group +Feature: Test role visibility for the groups management page In order to control access As an admin I need to control which roles can see each other